IKernelBuilderPlugins Interface
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.
Provides a builder for adding plugins as singletons to a service collection.
public interface IKernelBuilderPlugins
type IKernelBuilderPlugins = interface
Public Interface IKernelBuilderPlugins
Properties
Services |
Gets the collection of services to which plugins should be added. |
Extension Methods
Add(IKernelBuilderPlugins, KernelPlugin) |
Adds the |
AddFromFunctions(IKernelBuilderPlugins, String, IEnumerable<KernelFunction>) |
Creates a plugin that wraps the specified target object and adds it into the plugin collection. |
AddFromFunctions(IKernelBuilderPlugins, String, String, IEnumerable<KernelFunction>) |
Creates a plugin that wraps the specified target object and adds it into the plugin collection. |
AddFromObject(IKernelBuilderPlugins, Object, String) |
Creates a plugin that wraps the specified target object and adds it into the plugin collection. |
AddFromPromptDirectory(IKernelBuilderPlugins, String, String, IPromptTemplateFactory) |
Creates a plugin containing one function per child directory of the specified |
AddFromType<T>(IKernelBuilderPlugins, String) |
Creates a plugin that wraps a new instance of the specified type |