Method | Description | |
---|---|---|
Create ( |
Create a substitute for the given types.
|
|
CreatePartial ( |
Create an instance of the given types, with calls configured to call the base implementation where possible. Parts of the instance can be substituted using
|
|
GetCallRouterCreatedFor ( object substitute ) : ICallRouter | ||
SubstituteFactory ( ISubstitutionContext context, ICallRouterFactory callRouterFactory, IProxyFactory proxyFactory, ICallRouterResolver callRouterResolver ) : System |
Method | Description | |
---|---|---|
Create ( |
||
GetPrimaryProxyType ( |
public Create ( |
||
typesToProxy | ||
constructorArguments | object | |
return | object |
public CreatePartial ( |
||
typesToProxy | ||
constructorArguments | object | |
return | object |
public GetCallRouterCreatedFor ( object substitute ) : ICallRouter | ||
substitute | object | |
return | ICallRouter |
public SubstituteFactory ( ISubstitutionContext context, ICallRouterFactory callRouterFactory, IProxyFactory proxyFactory, ICallRouterResolver callRouterResolver ) : System | ||
context | ISubstitutionContext | |
callRouterFactory | ICallRouterFactory | |
proxyFactory | IProxyFactory | |
callRouterResolver | ICallRouterResolver | |
return | System |