C# Class CacheDiSample.Domain.CacheDecorators.BlogRepositoryWithCaching

Inheritance: IBlogRepository
Afficher le fichier Open project: RobinHames/CacheProvider

Méthodes publiques

Méthode Description
BlogRepositoryWithCaching ( IBlogRepository parentBlogRepository, ICacheProvider cacheProvider ) : System
GetAll ( ) : IList
GetById ( int id ) : Blog
GetByName ( string name ) : Blog

Method Details

BlogRepositoryWithCaching() public méthode

public BlogRepositoryWithCaching ( IBlogRepository parentBlogRepository, ICacheProvider cacheProvider ) : System
parentBlogRepository IBlogRepository
cacheProvider ICacheProvider
Résultat System

GetAll() public méthode

public GetAll ( ) : IList
Résultat IList

GetById() public méthode

public GetById ( int id ) : Blog
id int
Résultat CacheDiSample.Domain.Model.Blog

GetByName() public méthode

public GetByName ( string name ) : Blog
name string
Résultat CacheDiSample.Domain.Model.Blog