C# Class Tests.Proxies.ClientInjectionClass

Inheritance: Disposable
显示文件 Open project: chsakell/wcfdependencyinjection Class Usage Examples

Public Properties

Property Type Description
_articleProxy Client.Contracts.IArticleService
_blogProxy Client.Contracts.IBlogService

Public Methods

Method Description
ClientInjectionClass ( Client articleServiceProxy, Client blogServiceProxy ) : System
GetArticles ( ) : Client.Entities.Article[]
GetBlogById ( int id ) : Client.Entities.Blog

Protected Methods

Method Description
DisposeCore ( ) : void

Method Details

ClientInjectionClass() public method

public ClientInjectionClass ( Client articleServiceProxy, Client blogServiceProxy ) : System
articleServiceProxy Client
blogServiceProxy Client
return System

DisposeCore() protected method

protected DisposeCore ( ) : void
return void

GetArticles() public method

public GetArticles ( ) : Client.Entities.Article[]
return Client.Entities.Article[]

GetBlogById() public method

public GetBlogById ( int id ) : Client.Entities.Blog
id int
return Client.Entities.Blog

Property Details

_articleProxy public_oe property

public Client.Contracts.IArticleService _articleProxy
return Client.Contracts.IArticleService

_blogProxy public_oe property

public Client.Contracts.IBlogService _blogProxy
return Client.Contracts.IBlogService