Share via


KernelPluginCollection Constructors

Definition

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.

Applies to