温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:LiveBlog v1.0测试版源码
当前文件:
LiveBlog/LiveBlog.Core/IPublishable.cs,打开代码结构图
LiveBlog/LiveBlog.Core/IPublishable.cs,打开代码结构图1Using 7
8
namespace LiveBlog.Core 9
{ 10
/// <summary> 11
/// An interface implemented by the classed that can be published. 12
/// <remarks> 13
/// To implemnet this interface means that the class can be searched 14
/// from the search page and that it can be syndicated in RSS and ATOM. 15
/// </remarks> 16
/// </summary> 17
public interface IPublishable 18
{ 19
/// <summary> 20
/// Gets the title of the object 21
/// </summary> 22
String Title { get; } 23
24
/// <summary> 25
/// Gets the content. 26
/// </summary> 27
/// <value>The content.</value> 28
String Content { get;} 29
30
/// <summary> 31
/// Gets the date created. 32
/// </summary> 33
/// <value>The date created.</value> 34
DateTime DateCreated { get; } 35
36
/// <summary> 37
/// Gets the date modified. 38
/// </summary> 39
/// <value>The date modified.</value> 40
DateTime DateModified { get; } 41
42
/// <summary> 43
/// Gets the id. 44
/// </summary> 45
/// <value>The id.</value> 46
Guid Id { get; } 47
48
/// <summary> 49
/// Gets the relative link. 50
/// </summary> 51
/// <value>The relative link.</value> 52
String RelativeLink { get;} 53
54
/// <summary> 55
/// Gets the absolute link. 56
/// </summary> 57
/// <value>The absolute link.</value> 58
Uri AbsoluteLink { get;} 59
60
/// <summary> 61
/// Gets the description. 62
/// </summary> 63
/// <value>The description.</value> 64
String Description { get;} 65
66
/// <summary> 67
/// Gets the author. 68
/// </summary> 69
/// <value>The author.</value> 70
String Author { get;} 71
72
/// <summary> 73
/// Raises the <see cref="E:Serving"/> event. 74
/// </summary> 75
/// <param name="eventArgs">The <see cref="LiveBlog.Core.ServingEventArgs"/> instance containing the event data.</param> 76
void OnServing(ServingEventArgs eventArgs); 77
78
/// <summary> 79
/// Gets the categories. 80
/// </summary> 81
/// <value>The categories.</value> 82
StateList<Category> Categories { get;} 83
84
/// <summary> 85
/// Gets whether or not this item should be shown 86
/// </summary> 87
bool IsVisible { get;} 88
} 89
}





