ComponentRegistration 类

  • java.lang.Object
    • com.microsoft.bot.builder.ComponentRegistration

public class ComponentRegistration

ComponentRegistration 是用于从组件中发现资产的签名类。

构造函数摘要

构造函数 说明
ComponentRegistration()

方法摘要

修饰符和类型 方法和描述
static void add(ComponentRegistration componentRegistration)

添加实现注册方法的组件。

static java.lang.Iterable<java.lang.Object> getComponents()

获取注册的所有组件注册对象的列表。

方法继承自 java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

构造函数详细信息

ComponentRegistration

public ComponentRegistration()

方法详细信息

add

public static void add(ComponentRegistration componentRegistration)

添加实现注册方法的组件。

参数:

componentRegistration - 要添加到注册的组件。

getComponents

public static Iterable getComponents()

获取已注册的所有 ComponentRegistration 对象的列表。

返回:

ComponentRegistration 对象的数组。

适用于