Method | Description | |
---|---|---|
CreatePost ( string title, string textMarkdown, System.DateTime publishDate = null ) : IPost | ||
DbClean ( ) : void | ||
DbExport ( ) : string | ||
DbImport ( string data ) : void | ||
DeletePost ( int id ) : IPost | ||
GenerateSlug ( string title ) : string | ||
GetPost ( int id ) : IPost | ||
GetPosts ( uint page = 1, uint limit = 15, ContentStatus status = ContentStatus.All, bool withStaticPages = false ) : IPosts | ||
GetTags ( ) : IEnumerable |
||
GhostProvider ( string domain, string login, string password, bool useHttps = false, string urlPath = null, int port = -1 ) : System | ||
GhostProvider ( string domain, string urlPath, string login, string password, bool useHttps = false, int port = -1 ) : System | ||
SavePost ( IPost post ) : IPost |
Method | Description | |
---|---|---|
Cmd ( string path, RequestType requestType = RequestType.Get ) : Command |
protected Cmd ( string path, RequestType requestType = RequestType.Get ) : Command | ||
path | string | |
requestType | RequestType | |
return | Command |
public CreatePost ( string title, string textMarkdown, System.DateTime publishDate = null ) : IPost | ||
title | string | |
textMarkdown | string | |
publishDate | System.DateTime | |
return | IPost |
public GenerateSlug ( string title ) : string | ||
title | string | |
return | string |
public GetPosts ( uint page = 1, uint limit = 15, ContentStatus status = ContentStatus.All, bool withStaticPages = false ) : IPosts | ||
page | uint | |
limit | uint | |
status | ContentStatus | |
withStaticPages | bool | |
return | IPosts |
public GhostProvider ( string domain, string login, string password, bool useHttps = false, string urlPath = null, int port = -1 ) : System | ||
domain | string | |
login | string | |
password | string | |
useHttps | bool | |
urlPath | string | |
port | int | |
return | System |
public GhostProvider ( string domain, string urlPath, string login, string password, bool useHttps = false, int port = -1 ) : System | ||
domain | string | |
urlPath | string | |
login | string | |
password | string | |
useHttps | bool | |
port | int | |
return | System |