KernelPluginCollection Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
KernelPluginCollection() |
Initializes a collection of plugins. |
KernelPluginCollection(IEnumerable<KernelPlugin>) |
Initializes a collection of plugins that contains all of the plugins from the provided collection. |
KernelPluginCollection()
Initializes a collection of plugins.
public KernelPluginCollection ();
Public Sub New ()
Applies to
KernelPluginCollection(IEnumerable<KernelPlugin>)
Initializes a collection of plugins that contains all of the plugins from the provided collection.
public KernelPluginCollection (System.Collections.Generic.IEnumerable<Microsoft.SemanticKernel.KernelPlugin> plugins);
new Microsoft.SemanticKernel.KernelPluginCollection : seq<Microsoft.SemanticKernel.KernelPlugin> -> Microsoft.SemanticKernel.KernelPluginCollection
Public Sub New (plugins As IEnumerable(Of KernelPlugin))
Parameters
- plugins
- IEnumerable<KernelPlugin>
The initial collection of plugins to populate this collection.
Exceptions
plugins
is null.
plugins
contains multiple plugins with the same name.