Property | Type | Description | |
---|---|---|---|
StripParams | string |
Method | 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 |
Method | Description | |
---|---|---|
StripParams ( string path ) : string |
public Create ( MockApi.Web.Models.Mock mock ) : void | ||
mock | MockApi.Web.Models.Mock | |
return | void |
public Find ( string path, HttpMethodType verb ) : MockApi.Web.Models.Mock | ||
path | string | |
verb | HttpMethodType | |
return | MockApi.Web.Models.Mock |
public FindActiveResponse ( string path, HttpMethodType verb ) : MockApi.Web.Models.MockResponse | ||
path | string | |
verb | HttpMethodType | |
return | MockApi.Web.Models.MockResponse |
public FindById ( string id ) : MockApi.Web.Models.Mock | ||
id | string | |
return | MockApi.Web.Models.Mock |
public MockRepository ( IDataContext dataContext ) : System.Collections.Generic | ||
dataContext | IDataContext | |
return | System.Collections.Generic |
public Update ( string id, MockApi.Web.Models.Mock mock ) : bool | ||
id | string | |
mock | MockApi.Web.Models.Mock | |
return | bool |