C# Class CacheDiSample.Domain.CacheDecorators.BlogRepositoryWithCaching

Inheritance: IBlogRepository
Show file Open project: RobinHames/CacheProvider

Public Methods

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

Method Details

BlogRepositoryWithCaching() public method

public BlogRepositoryWithCaching ( IBlogRepository parentBlogRepository, ICacheProvider cacheProvider ) : System
parentBlogRepository IBlogRepository
cacheProvider ICacheProvider
return System

GetAll() public method

public GetAll ( ) : IList
return IList

GetById() public method

public GetById ( int id ) : Blog
id int
return CacheDiSample.Domain.Model.Blog

GetByName() public method

public GetByName ( string name ) : Blog
name string
return CacheDiSample.Domain.Model.Blog