forked from BlogEngine/BlogEngine.NET
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBlog.cs
More file actions
86 lines (71 loc) · 2.2 KB
/
Blog.cs
File metadata and controls
86 lines (71 loc) · 2.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
using System;
namespace BlogEngine.Core.Data.Models
{
/// <summary>
/// The blog
/// </summary>
public class Blog
{
/// <summary>
/// If checked in the UI
/// </summary>
public bool IsChecked { get; set; }
/// <summary>
/// Blog ID
/// </summary>
public Guid Id { get; set; }
/// <summary>
/// Blog name
/// </summary>
public string Name { get; set; }
/// <summary>
/// Virtual Path.
/// </summary>
public string VirtualPath { get; set; }
/// <summary>
/// Storage Container Name.
/// </summary>
public string StorageContainerName { get; set; }
/// <summary>
/// Hostname.
/// </summary>
public string Hostname { get; set; }
/// <summary>
/// IsAnyTextBeforeHostnameAccepted.
/// </summary>
public bool IsAnyTextBeforeHostnameAccepted { get; set; }
/// <summary>
/// Physical path to the Storage Location (READ ONLY).
/// This is "StorageLocation" after running it thru MapPath.
/// </summary>
public string PhysicalStorageLocation { get; set; }
/// <summary>
/// Relative Web Root (READ ONLY).
/// </summary>
public string RelativeWebRoot { get; set; }
/// <summary>
/// Absolute Web Root (READ ONLY).
/// </summary>
public Uri AbsoluteWebRoot { get; set; }
/// <summary>
/// Whether the blog instance is the Primary instance.
/// </summary>
public bool IsPrimary { get; set; }
/// <summary>
/// Active status
/// </summary>
public bool IsActive { get; set; }
/// <summary>
/// Whether the blog instance is a Site Aggregation instance.
/// </summary>
public bool IsSiteAggregation { get; set; }
/// <summary>
/// If the current user can delete this page.
/// </summary>
public bool CanUserDelete { get; set; }
/// <summary>
/// If the current user can edit this page.
/// </summary>
public bool CanUserEdit { get; set; }
}
}