ResourceExplorer 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
ResourceExplorer()
ResourceExplorer(ResourceExplorerOptions)
初始化 ResourceExplorer 类的新实例。
public ResourceExplorer (Microsoft.Bot.Builder.Dialogs.Declarative.Resources.ResourceExplorerOptions options);
new Microsoft.Bot.Builder.Dialogs.Declarative.Resources.ResourceExplorer : Microsoft.Bot.Builder.Dialogs.Declarative.Resources.ResourceExplorerOptions -> Microsoft.Bot.Builder.Dialogs.Declarative.Resources.ResourceExplorer
Public Sub New (options As ResourceExplorerOptions)
参数
- options
- ResourceExplorerOptions
的配置选项。ResourceExplorer
适用于
ResourceExplorer(IEnumerable<ResourceProvider>)
注意
Use ResourceExplorer(ResourceExplorerOptions options)
instead.
初始化 ResourceExplorer 类的新实例。
[System.Obsolete("Use `ResourceExplorer(ResourceExplorerOptions options)` instead.")]
public ResourceExplorer (System.Collections.Generic.IEnumerable<Microsoft.Bot.Builder.Dialogs.Declarative.Resources.ResourceProvider> providers);
[<System.Obsolete("Use `ResourceExplorer(ResourceExplorerOptions options)` instead.")>]
new Microsoft.Bot.Builder.Dialogs.Declarative.Resources.ResourceExplorer : seq<Microsoft.Bot.Builder.Dialogs.Declarative.Resources.ResourceProvider> -> Microsoft.Bot.Builder.Dialogs.Declarative.Resources.ResourceExplorer
Public Sub New (providers As IEnumerable(Of ResourceProvider))
参数
- providers
- IEnumerable<ResourceProvider>
用于初始化当前实例的资源提供程序列表。
- 属性
适用于
ResourceExplorer(IEnumerable<ResourceProvider>, IEnumerable<IComponentDeclarativeTypes>)
注意
Use ResourceExplorer(ResourceExplorerOptions options)
instead.
初始化 ResourceExplorer 类的新实例。
[System.Obsolete("Use `ResourceExplorer(ResourceExplorerOptions options)` instead.")]
public ResourceExplorer (System.Collections.Generic.IEnumerable<Microsoft.Bot.Builder.Dialogs.Declarative.Resources.ResourceProvider> providers, System.Collections.Generic.IEnumerable<Microsoft.Bot.Builder.Dialogs.Declarative.IComponentDeclarativeTypes> declarativeTypes);
[<System.Obsolete("Use `ResourceExplorer(ResourceExplorerOptions options)` instead.")>]
new Microsoft.Bot.Builder.Dialogs.Declarative.Resources.ResourceExplorer : seq<Microsoft.Bot.Builder.Dialogs.Declarative.Resources.ResourceProvider> * seq<Microsoft.Bot.Builder.Dialogs.Declarative.IComponentDeclarativeTypes> -> Microsoft.Bot.Builder.Dialogs.Declarative.Resources.ResourceExplorer
Public Sub New (providers As IEnumerable(Of ResourceProvider), declarativeTypes As IEnumerable(Of IComponentDeclarativeTypes))
参数
- providers
- IEnumerable<ResourceProvider>
用于初始化当前实例的资源提供程序列表。
- declarativeTypes
- IEnumerable<IComponentDeclarativeTypes>
要使用的声明性类型的列表。 如果设置为 null, Components 则回退到 。
- 属性