| ExtensionMethods Methods |
The ExtensionMethods type exposes the following members.
Methods | Name | Description |
---|
| BindExports(IServiceCollection, IEnumerableAssembly) |
Binds the exports of the specified assemblies to the service collection.
|
| BindExports(IServiceCollection, IEnumerableExportInfo) |
Binds the specified exports to the service collection.
|
| BindExports(IServiceCollection, Assembly) |
Binds the exports of the specified assemblies to the service collection.
|
| BindMetadata(IServiceCollection, Type) |
Binds the default metadata to the service.
|
| BindMetadata(IServiceCollection, Type, IDictionaryString, Object) |
Binds the metadata to the service.
|
| BindMetadata(IServiceCollection, Type, Type) |
Binds the default metadata to the service.
|
| BindMetadata(IServiceCollection, Type, Type, IDictionaryString, Object) |
Binds the metadata to the service.
|
| GetExportedValueT(IServiceProvider) |
Gets the exported value of the specified type.
|
| GetExportedValueT(IServiceProvider, String) |
Gets the exported value of the specified type and contract name.
|
| GetExportedValueOrDefaultT(IServiceProvider) |
Gets the exported value of the specified type, or default if not found.
|
| GetExportedValueOrDefaultT(IServiceProvider, String) |
Gets the exported value of the specified type and contract name, or default if not found.
|
| GetExportedValuesT(IServiceProvider) |
Gets the exported values of the specified type.
|
| GetExportedValuesT(IServiceProvider, String) |
Gets the exported values of the specified type and contract name.
|
| GetServiceInfo(IServiceCollection) |
Gets the service descriptor and the associated metadata of all metadata entries.
|
| GetServiceInfoT(IServiceCollection) |
Gets the service descriptor and the associated metadata of the metadata entries matching the type.
|
TopSee Also