C# 클래스 Naif.Blog.Services.FileBlogRepository

상속: IBlogRepository
파일 보기 프로젝트 열기: cnurse/Naif.Blog

공개 메소드들

메소드 설명
Delete ( Post post ) : void
GetAll ( string blogId ) : IEnumerable
GetCategories ( string blogId ) : int>.Dictionary
GetTags ( string blogId ) : int>.Dictionary
Save ( Post post ) : void
SaveMedia ( string blogid, MediaObject media ) : string

보호된 메소드들

메소드 설명
FileBlogRepository ( IHostingEnvironment env, IMemoryCache memoryCache ) : System
GetPost ( string file, string blogId ) : Post
SavePost ( Post post, string file ) : void

비공개 메소드들

메소드 설명
GetPosts ( string blogId ) : IEnumerable

메소드 상세

Delete() 공개 메소드

public Delete ( Post post ) : void
post Naif.Blog.Models.Post
리턴 void

FileBlogRepository() 보호된 메소드

protected FileBlogRepository ( IHostingEnvironment env, IMemoryCache memoryCache ) : System
env IHostingEnvironment
memoryCache IMemoryCache
리턴 System

GetAll() 공개 메소드

public GetAll ( string blogId ) : IEnumerable
blogId string
리턴 IEnumerable

GetCategories() 공개 메소드

public GetCategories ( string blogId ) : int>.Dictionary
blogId string
리턴 int>.Dictionary

GetPost() 보호된 추상적인 메소드

protected abstract GetPost ( string file, string blogId ) : Post
file string
blogId string
리턴 Naif.Blog.Models.Post

GetTags() 공개 메소드

public GetTags ( string blogId ) : int>.Dictionary
blogId string
리턴 int>.Dictionary

Save() 공개 메소드

public Save ( Post post ) : void
post Naif.Blog.Models.Post
리턴 void

SaveMedia() 공개 메소드

public SaveMedia ( string blogid, MediaObject media ) : string
blogid string
media Naif.Blog.Models.MediaObject
리턴 string

SavePost() 보호된 추상적인 메소드

protected abstract SavePost ( Post post, string file ) : void
post Naif.Blog.Models.Post
file string
리턴 void