ExportConventionBuilder Class
Definition
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.
Configures an export that is associated with a part.
public ref class ExportConventionBuilder sealed
public sealed class ExportConventionBuilder
type ExportConventionBuilder = class
Public NotInheritable Class ExportConventionBuilder
- Inheritance
-
ExportConventionBuilder
Methods
AddMetadata(String, Func<Type,Object>) |
Adds metadata that has the specified name and value to the export. |
AddMetadata(String, Object) |
Adds metadata that has the specified name and value to the export. |
AsContractName(Func<Type,String>) |
Specifies the contract name for the export based on the result of the specified function on the export type. |
AsContractName(String) |
Specifies the contract name for the export. |
AsContractType(Type) |
Specifies the contract type for the export. |
AsContractType<T>() |
Specifies the contract type for the export as a generic type. |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
ToString() |
Returns a string that represents the current object. (Inherited from Object) |