ExtensionMethods Class |
Namespace: TomsToolbox.Composition
The ExtensionMethods type exposes the following members.
Name | Description | |
---|---|---|
ContractNameMatches |
Checks whether the contractName matches the value stored in the metadata.
| |
GetContractName(IDictionaryString, Object) |
Reads the well known ContractName property from the metadata.
| |
GetContractName(IMetadata) |
Reads the well known ContractName property from the metadata.
| |
GetContractType |
Reads the well known ContractType property from the metadata.
| |
GetContractTypeFor |
Gets the contract type for the specified elementType.
| |
GetDefaultMetadata(Type, String) |
Gets the default metadata for the specified service.
| |
GetDefaultMetadata(Type, Type, String) |
Gets the default metadata for the specified service.
| |
GetExportsTMetadata(IExportProvider, Type, FuncIMetadata, TMetadata) |
Gets the exports for the specified parameters.
| |
GetExportsTMetadata(IExportProvider, Type, String, FuncIMetadata, TMetadata) |
Gets the exports for the specified parameters.
| |
GetValueT |
Gets the metadata with the specified name.
| |
GetValueOrDefault(IMetadata, String) |
Gets the value, or default if no item with this name exists.
| |
GetValueOrDefaultT(IMetadata, String) |
Gets the value, or default if no item with this name exists.
| |
TryGetExportedValueT |
Tries to the get exported value.
| |
TryGetValueT |
Gets the metadata with the specified name.
|