C# Class AdventureWorks.WebServices.Tests.Mocks.MockProductRepository

Inheritance: IProductRepository
Datei anzeigen Open project: PrismLibrary/Prism-Samples-Windows

Public Methods

Method Description
GetProduct ( string productNumber ) : AdventureWorks.WebServices.Models.Product
GetProducts ( ) : IEnumerable
GetProductsForCategory ( int subcategoryId ) : IEnumerable
GetTodaysDealsProducts ( ) : IEnumerable

Method Details

GetProduct() public method

public GetProduct ( string productNumber ) : AdventureWorks.WebServices.Models.Product
productNumber string
return AdventureWorks.WebServices.Models.Product

GetProducts() public method

public GetProducts ( ) : IEnumerable
return IEnumerable

GetProductsForCategory() public method

public GetProductsForCategory ( int subcategoryId ) : IEnumerable
subcategoryId int
return IEnumerable

GetTodaysDealsProducts() public method

public GetTodaysDealsProducts ( ) : IEnumerable
return IEnumerable