CompositionDependency Class

.NET Framework (current version)
 

Describes a dependency that a part must have. Used by the composition engine during initialization to determine whether the composition can be made, and if not, what error to provide.

Namespace:   System.Composition.Hosting.Core
Assembly:  System.Composition.Hosting (in System.Composition.Hosting.dll)

System::Object
  System.Composition.Hosting.Core::CompositionDependency

public ref class CompositionDependency 

NameDescription
System_CAPS_pubpropertyContract

Gets or sets the contract required by the dependency.

System_CAPS_pubpropertyIsPrerequisite

Gets or sets a value that indicates whether the dependency is a prerequisite.

System_CAPS_pubpropertySite

Gets a marker used to identify the dependency.

System_CAPS_pubpropertyTarget

Gets or sets the export descriptor promise the dependency is on.

NameDescription
System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticMissing(CompositionContract^, Object^)

Constructs a placeholder for a missing dependency.

System_CAPS_pubmethodSystem_CAPS_staticOversupplied(CompositionContract^, IEnumerable<ExportDescriptorPromise^>^, Object^)

Constructs a placeholder for a dependency that has too many supplied values.

System_CAPS_pubmethodSystem_CAPS_staticSatisfied(CompositionContract^, ExportDescriptorPromise^, Boolean, Object^)

Constructs a dependency on the specified target.

System_CAPS_pubmethodToString()

Returns the string representation of this CompositionDependency object. (Overrides Object::ToString().)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: