ExportDescriptorPromise 类

定义

表示可用部件可以提供的导出描述符。

public ref class ExportDescriptorPromise
public class ExportDescriptorPromise
type ExportDescriptorPromise = class
Public Class ExportDescriptorPromise
继承
ExportDescriptorPromise

注解

此类型是容器的循环检查、适应和编译功能的核心。

构造函数

名称 说明
ExportDescriptorPromise(CompositionContract, String, Boolean, Func<IEnumerable<CompositionDependency>>, Func<IEnumerable<CompositionDependency>, ExportDescriptor>)

初始化 ExportDescriptorPromise 类的新实例。

属性

名称 说明
Contract

获取此承诺所履行的合同。

Dependencies

获取满足此承诺所需的依赖项。

IsShared

获取一个值,该值指示是否共享承诺。

Origin

获取用于提供可读错误的承诺来源(例如部件类型)的说明。

方法

名称 说明
Equals(Object)

确定指定的对象是否等于当前对象。

(继承自 Object)
GetDescriptor()

检索承诺的描述符。

GetHashCode()

用作默认哈希函数。

(继承自 Object)
GetType()

获取当前实例的 Type

(继承自 Object)
MemberwiseClone()

创建当前 Object的浅表副本。

(继承自 Object)
ToString()

返回此 ExportDescriptorPromise 对象的字符串表示形式。

适用于