C# Class Naif.Blog.Services.JsonBlogRepository

Inheritance: FileBlogRepository
Afficher le fichier Open project: cnurse/Naif.Blog

Méthodes publiques

Méthode Description
JsonBlogRepository ( IHostingEnvironment env, IMemoryCache memoryCache, ILoggerFactory loggerFactory ) : Naif.Blog.Models

Méthodes protégées

Méthode Description
GetPost ( string file, string blogId ) : Post
SavePost ( Post post, string file ) : void

Method Details

GetPost() protected méthode

protected GetPost ( string file, string blogId ) : Post
file string
blogId string
Résultat Naif.Blog.Models.Post

JsonBlogRepository() public méthode

public JsonBlogRepository ( IHostingEnvironment env, IMemoryCache memoryCache, ILoggerFactory loggerFactory ) : Naif.Blog.Models
env IHostingEnvironment
memoryCache IMemoryCache
loggerFactory ILoggerFactory
Résultat Naif.Blog.Models

SavePost() protected méthode

protected SavePost ( Post post, string file ) : void
post Naif.Blog.Models.Post
file string
Résultat void