Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
ProductRepositoryMock
C# Class ProductRepositoryMock, code
Inheritance:
IRepository
Afficher le fichier
Open project: shendongnian/code
Class Usage Examples
Méthodes publiques
Méthode
Description
Add
(
product
) :
void
Get
(
int
id
) :
Product
GetAll
( ) :
IEnumerable
ProductRepositoryMock
( )
Update
(
product
) :
void
Private Methods
Méthode
Description
GetNewId
( ) :
int
Method Details
Add()
public
méthode
public
Add
(
product
) :
void
Résultat
void
Get()
public
méthode
public
Get
(
int
id
) :
Product
id
int
Résultat
Product
GetAll()
public
méthode
public
GetAll
( ) :
IEnumerable
Résultat
IEnumerable
ProductRepositoryMock()
public
méthode
public
ProductRepositoryMock
( )
Update()
public
méthode
public
Update
(
product
) :
void
Résultat
void