C# 클래스 Rest4Net.Ghost.GhostProvider

상속: RestApiProvider
파일 보기 프로젝트 열기: acropolium/Rest4Net

공개 메소드들

메소드 설명
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

보호된 메소드들

메소드 설명
Cmd ( string path, RequestType requestType = RequestType.Get ) : Command

메소드 상세

Cmd() 보호된 메소드

protected Cmd ( string path, RequestType requestType = RequestType.Get ) : Command
path string
requestType RequestType
리턴 Command

CreatePost() 공개 메소드

public CreatePost ( string title, string textMarkdown, System.DateTime publishDate = null ) : IPost
title string
textMarkdown string
publishDate System.DateTime
리턴 IPost

DbClean() 공개 메소드

public DbClean ( ) : void
리턴 void

DbExport() 공개 메소드

public DbExport ( ) : string
리턴 string

DbImport() 공개 메소드

public DbImport ( string data ) : void
data string
리턴 void

DeletePost() 공개 메소드

public DeletePost ( int id ) : IPost
id int
리턴 IPost

GenerateSlug() 공개 메소드

public GenerateSlug ( string title ) : string
title string
리턴 string

GetPost() 공개 메소드

public GetPost ( int id ) : IPost
id int
리턴 IPost

GetPosts() 공개 메소드

public GetPosts ( uint page = 1, uint limit = 15, ContentStatus status = ContentStatus.All, bool withStaticPages = false ) : IPosts
page uint
limit uint
status ContentStatus
withStaticPages bool
리턴 IPosts

GetTags() 공개 메소드

public GetTags ( ) : IEnumerable
리턴 IEnumerable

GhostProvider() 공개 메소드

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
리턴 System

GhostProvider() 공개 메소드

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
리턴 System

SavePost() 공개 메소드

public SavePost ( IPost post ) : IPost
post IPost
리턴 IPost