ExportProvider Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves exports which match a specified ImportDefinition object.
public ref class ExportProvider abstract
public abstract class ExportProvider
type ExportProvider = class
Public MustInherit Class ExportProvider
- Inheritance
-
ExportProvider
- Derived
Export |
Initializes a new instance of the ExportProvider class. |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
Get |
Returns the export with the contract name derived from the specified type parameter. If there is not exactly one matching export, an exception is thrown. |
Get |
Returns the export with the specified contract name. If there is not exactly one matching export, an exception is thrown. |
Get |
Returns the export with the contract name derived from the specified type parameter. If there is not exactly one matching export, an exception is thrown. |
Get |
Returns the export with the specified contract name. If there is not exactly one matching export, an exception is thrown. |
Get |
Returns the exported object with the contract name derived from the specified type parameter. If there is not exactly one matching exported object, an exception is thrown. |
Get |
Returns the exported object with the specified contract name. If there is not exactly one matching exported object, an exception is thrown. |
Get |
Gets the exported object with the contract name derived from the specified type parameter or the default value for the specified type, or throws an exception if there is more than one matching exported object. |
Get |
Gets the exported object with the specified contract name or the default value for the specified type, or throws an exception if there is more than one matching exported object. |
Get |
Gets all the exported objects with the contract name derived from the specified type parameter. |
Get |
Gets all the exported objects with the specified contract name. |
Get |
Gets all exports that match the conditions of the specified import definition and composition. |
Get |
Gets all exports that match the conditions of the specified import definition. |
Get |
Gets all the exports with the specified contract name. |
Get |
Gets all the exports with the contract name derived from the specified type parameter. |
Get |
Gets all the exports with the specified contract name. |
Get |
Gets all the exports with the contract name derived from the specified type parameter. |
Get |
Gets all the exports with the specified contract name. |
Get |
Gets all the exports that match the constraint defined by the specified definition. |
Get |
Serves as the default hash function. (Inherited from Object) |
Get |
Gets the Type of the current instance. (Inherited from Object) |
Memberwise |
Creates a shallow copy of the current Object. (Inherited from Object) |
On |
Raises the ExportsChanged event. |
On |
Raises the ExportsChanging event. |
To |
Returns a string that represents the current object. (Inherited from Object) |
Try |
Gets all the exports that match the conditions of the specified import. |
Exports |
Occurs when the exports in the ExportProvider change. |
Exports |
Occurs when the provided exports are changing. |
Продукт | Версии |
---|---|
.NET | 8 (package-provided), 9 (package-provided) |
.NET Framework | 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided) |
Обратна връзка за .NET
.NET е проект с отворен код. Изберете връзка, за да предоставите обратна връзка: