Click or drag to resize

ExtensionMethods Methods

The ExtensionMethods type exposes the following members.

Methods
 NameDescription
Public Extension MethodContractNameMatches Checks whether the contractName matches the value stored in the metadata.
Public Extension MethodGetContractName(IDictionaryString, Object) Reads the well known ContractName property from the metadata.
Public Extension MethodGetContractName(IMetadata) Reads the well known ContractName property from the metadata.
Public Extension MethodGetContractType Reads the well known ContractType property from the metadata.
Public Extension MethodGetContractTypeFor Gets the contract type for the specified elementType.
Public Extension MethodGetDefaultMetadata(Type, String) Gets the default metadata for the specified service.
Public Extension MethodGetDefaultMetadata(Type, Type, String) Gets the default metadata for the specified service.
Public Extension MethodGetExportsTMetadataView(IExportProvider, Type, FuncIMetadata, TMetadataView) Gets the exports for the specified parameters.
Public Extension MethodGetExportsTMetadataView(IExportProvider, Type, String, FuncIMetadata, TMetadataView) Gets the exports for the specified parameters.
Public Extension MethodGetValueT Gets the metadata with the specified name.
Public Extension MethodGetValueOrDefault(IMetadata, String) Gets the value, or default if no item with this name exists.
Public Extension MethodGetValueOrDefaultT(IMetadata, String) Gets the value, or default if no item with this name exists.
Public Extension MethodTryGetExportedValueT Tries to the get exported value.
Public Extension MethodTryGetValueT Gets the metadata with the specified name.
Top
See Also