Share via


KernelPluginCollection.AddRange(IEnumerable<KernelPlugin>) Method

Definition

Adds a collection of plugins to this plugin collection.

public void AddRange (System.Collections.Generic.IEnumerable<Microsoft.SemanticKernel.KernelPlugin> plugins);
member this.AddRange : seq<Microsoft.SemanticKernel.KernelPlugin> -> unit
Public Sub AddRange (plugins As IEnumerable(Of KernelPlugin))

Parameters

plugins
IEnumerable<KernelPlugin>

The plugins to add.

Exceptions

A plugin in plugins has a null Name.

A plugin with the same name as a plugin in plugins already exists in the collection.

Applies to