| ExtensionMethods Class |
Inheritance Hierarchy Namespace: TomsToolbox.CompositionAssembly: TomsToolbox.Composition (in TomsToolbox.Composition.dll) Version: 2.20.0+44d18b541fc9419ec3c549350a832394661b2a4d
XMLNS for XAML: Not mapped to an xmlns.
Syntax public static class ExtensionMethods
<ExtensionAttribute>
Public NotInheritable Class ExtensionMethods
The ExtensionMethods type exposes the following members.
Methods | 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.
|
| GetExportsTMetadataView(IExportProvider, Type, FuncIMetadata, TMetadataView) |
Gets the exports for the specified parameters.
|
| GetExportsTMetadataView(IExportProvider, Type, String, FuncIMetadata, TMetadataView) |
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.
|
TopSee Also