forked from BillKrat/BlogEngine.NET
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathEnums.cs
More file actions
71 lines (69 loc) · 1.41 KB
/
Enums.cs
File metadata and controls
71 lines (69 loc) · 1.41 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
namespace BlogEngine.Core.Data.Models
{
/// <summary>
/// Post type
/// </summary>
public enum PostType
{
/// <summary>
/// All posts
/// </summary>
All,
/// <summary>
/// Drafts
/// </summary>
Draft,
/// <summary>
/// Published posts
/// </summary>
Published
}
/// <summary>
/// Type of deleted object
/// </summary>
public enum TrashType
{
/// <summary>
/// Any deleted object
/// </summary>
All,
/// <summary>
/// Deleted comment
/// </summary>
Comment,
/// <summary>
/// Deleted post
/// </summary>
Post,
/// <summary>
/// Deleted page
/// </summary>
Page
}
/// <summary>
/// Comment type.
/// </summary>
public enum CommentType
{
/// <summary>
/// Pending Comment Type
/// </summary>
Pending,
/// <summary>
/// Approved Comment Type
/// </summary>
Approved,
/// <summary>
/// Pingbacks and trackbacks Comment Type
/// </summary>
Pingback,
/// <summary>
/// Spam Comment Type
/// </summary>
Spam,
/// <summary>
/// All comments
/// </summary>
All
}
}