Свойство | Type | Description | |
---|---|---|---|
StripParams | string |
Méthode | Description | |
---|---|---|
Create ( MockApi.Web.Models.Mock mock ) : void | ||
Delete ( string id ) : void | ||
Find ( string path, HttpMethodType verb ) : MockApi.Web.Models.Mock | ||
FindActiveResponse ( string path, HttpMethodType verb ) : MockApi.Web.Models.MockResponse | ||
FindById ( string id ) : MockApi.Web.Models.Mock | ||
ListAll ( ) : List |
||
MockRepository ( IDataContext dataContext ) : System.Collections.Generic | ||
Update ( string id, MockApi.Web.Models.Mock mock ) : bool |
Méthode | Description | |
---|---|---|
StripParams ( string path ) : string |
public Create ( MockApi.Web.Models.Mock mock ) : void | ||
mock | MockApi.Web.Models.Mock | |
Résultat | void |
public Find ( string path, HttpMethodType verb ) : MockApi.Web.Models.Mock | ||
path | string | |
verb | HttpMethodType | |
Résultat | MockApi.Web.Models.Mock |
public FindActiveResponse ( string path, HttpMethodType verb ) : MockApi.Web.Models.MockResponse | ||
path | string | |
verb | HttpMethodType | |
Résultat | MockApi.Web.Models.MockResponse |
public FindById ( string id ) : MockApi.Web.Models.Mock | ||
id | string | |
Résultat | MockApi.Web.Models.Mock |
public MockRepository ( IDataContext dataContext ) : System.Collections.Generic | ||
dataContext | IDataContext | |
Résultat | System.Collections.Generic |
public Update ( string id, MockApi.Web.Models.Mock mock ) : bool | ||
id | string | |
mock | MockApi.Web.Models.Mock | |
Résultat | bool |