ComposablePartDefinition ComposablePartDefinition ComposablePartDefinition ComposablePartDefinition Class

Definition

Defines an abstract base class for composable part definitions, which describe and enable the creation of ComposablePart objects.

public ref class ComposablePartDefinition abstract
public abstract class ComposablePartDefinition
type ComposablePartDefinition = class
Public MustInherit Class ComposablePartDefinition
Inheritance
ComposablePartDefinitionComposablePartDefinitionComposablePartDefinitionComposablePartDefinition

Constructors

ComposablePartDefinition() ComposablePartDefinition() ComposablePartDefinition() ComposablePartDefinition()

Initializes a new instance of the ComposablePartDefinition class.

Properties

ExportDefinitions ExportDefinitions ExportDefinitions ExportDefinitions

Gets a collection of ExportDefinition objects that describe the objects exported by the part defined by this ComposablePartDefinition object.

ImportDefinitions ImportDefinitions ImportDefinitions ImportDefinitions

Gets a collection of ImportDefinition objects that describe the imports required by the part defined by this ComposablePartDefinition object.

Metadata Metadata Metadata Metadata

Gets a collection of the metadata for this ComposablePartDefinition object.

Methods

CreatePart() CreatePart() CreatePart() CreatePart()

Creates a new instance of a part that the ComposablePartDefinition describes.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Extension Methods

Exports(ComposablePartDefinition, Type) Exports(ComposablePartDefinition, Type) Exports(ComposablePartDefinition, Type) Exports(ComposablePartDefinition, Type)

Returns a value that indicates whether the specified part contains an export that matches the specified contract type.

Exports<T>(ComposablePartDefinition) Exports<T>(ComposablePartDefinition) Exports<T>(ComposablePartDefinition) Exports<T>(ComposablePartDefinition)

Returns a value that indicates whether the specified part contains an export that matches the specified contract type.

Imports(ComposablePartDefinition, Type) Imports(ComposablePartDefinition, Type) Imports(ComposablePartDefinition, Type) Imports(ComposablePartDefinition, Type)

Returns a value that indicates whether the specified part contains an import that matches the specified contract type.

Imports(ComposablePartDefinition, Type, ImportCardinality) Imports(ComposablePartDefinition, Type, ImportCardinality) Imports(ComposablePartDefinition, Type, ImportCardinality) Imports(ComposablePartDefinition, Type, ImportCardinality)

Returns a value that indicates whether the specified part contains an import that matches the specified contract type and import cardinality.

Imports<T>(ComposablePartDefinition) Imports<T>(ComposablePartDefinition) Imports<T>(ComposablePartDefinition) Imports<T>(ComposablePartDefinition)

Returns a value that indicates whether the specified part contains an import that matches the specified contract type.

Imports<T>(ComposablePartDefinition, ImportCardinality) Imports<T>(ComposablePartDefinition, ImportCardinality) Imports<T>(ComposablePartDefinition, ImportCardinality) Imports<T>(ComposablePartDefinition, ImportCardinality)

Returns a value that indicates whether the specified part contains an import that matches the specified contract type and import cardinality.

ContainsPartMetadata<T>(ComposablePartDefinition, String, T) ContainsPartMetadata<T>(ComposablePartDefinition, String, T) ContainsPartMetadata<T>(ComposablePartDefinition, String, T) ContainsPartMetadata<T>(ComposablePartDefinition, String, T)

Gets a value that indicates whether the specified part contains metadata that has the specified key and value.

ContainsPartMetadataWithKey(ComposablePartDefinition, String) ContainsPartMetadataWithKey(ComposablePartDefinition, String) ContainsPartMetadataWithKey(ComposablePartDefinition, String) ContainsPartMetadataWithKey(ComposablePartDefinition, String)

Gets a value that indicates whether the specified part contains metadata that has the specified key.

Exports(ComposablePartDefinition, String) Exports(ComposablePartDefinition, String) Exports(ComposablePartDefinition, String) Exports(ComposablePartDefinition, String)

Gets a value that indicates whether the specified part exports the specified contract.

Imports(ComposablePartDefinition, String) Imports(ComposablePartDefinition, String) Imports(ComposablePartDefinition, String) Imports(ComposablePartDefinition, String)

Determines whether the specified part imports the specified contract.

Imports(ComposablePartDefinition, String, ImportCardinality) Imports(ComposablePartDefinition, String, ImportCardinality) Imports(ComposablePartDefinition, String, ImportCardinality) Imports(ComposablePartDefinition, String, ImportCardinality)

Determines whether the specified part imports the specified contract with the specified cardinality.

Applies to