Method | Description | |
---|---|---|
ContractResolver ( IContract contract ) : System |
Constructor.
|
|
ContractResolver ( IEnumerable |
Constructor.
|
|
TryResolve ( |
Attempt to resolve the resource contract from a CLR type.
|
|
TryResolve ( string name, IContract &contract ) : bool |
Attempt to resolve the resource contract from a resource type name.
|
public ContractResolver ( IContract contract ) : System | ||
contract | IContract | The contract available to the resolver. |
return | System |
public ContractResolver ( IEnumerable |
||
contracts | IEnumerable |
The list of contracts available to the resolver. |
return | System |
public TryResolve ( |
||
type | The CLR type of the resource contract to resolve. | |
contract | IContract | The resource contract that was associated with the given CLR type. |
return | bool |
public TryResolve ( string name, IContract &contract ) : bool | ||
name | string | The resource type name of the resource contract to resolve. |
contract | IContract | The resource contract that was associated with the given resource type name. |
return | bool |