KernelExtensions.Add(IKernelBuilderPlugins, KernelPlugin) Method
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.
Adds the plugin
to the plugins
.
public static Microsoft.SemanticKernel.IKernelBuilderPlugins Add (this Microsoft.SemanticKernel.IKernelBuilderPlugins plugins, Microsoft.SemanticKernel.KernelPlugin plugin);
static member Add : Microsoft.SemanticKernel.IKernelBuilderPlugins * Microsoft.SemanticKernel.KernelPlugin -> Microsoft.SemanticKernel.IKernelBuilderPlugins
<Extension()>
Public Function Add (plugins As IKernelBuilderPlugins, plugin As KernelPlugin) As IKernelBuilderPlugins
Parameters
- plugins
- IKernelBuilderPlugins
The plugin collection to which the plugin should be added.
- plugin
- KernelPlugin
The plugin to add.
Returns
The same instance as plugins
.