Κοινή χρήση μέσω


ExportDescriptorPromise Class

Definition

Represents an export descriptor that an available part can provide.

public ref class ExportDescriptorPromise
public class ExportDescriptorPromise
type ExportDescriptorPromise = class
Public Class ExportDescriptorPromise
Inheritance
ExportDescriptorPromise

Remarks

This type is central to the cycle-checking, adaptation, and compilation features of the container.

Constructors

ExportDescriptorPromise(CompositionContract, String, Boolean, Func<IEnumerable<CompositionDependency>>, Func<IEnumerable<CompositionDependency>, ExportDescriptor>)

Initializes a new instance of the ExportDescriptorPromise class.

Properties

Contract

Gets the contract fulfilled by this promise.

Dependencies

Gets the dependencies that are required to fulfill this promise.

IsShared

Gets a value that indicates whether the promise is shared.

Origin

Gets a description of where the promise originates (for example, a part type), used to provide readable errors.

Methods

Equals(Object)

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

(Inherited from Object)
GetDescriptor()

Retrieves the promised descriptor.

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 the string representation of this ExportDescriptorPromise object.

Applies to