Share via


KernelPluginFactory Class

Definition

Provides static factory methods for creating commonly-used plugin implementations.

public static class KernelPluginFactory
type KernelPluginFactory = class
Public Class KernelPluginFactory
Inheritance
KernelPluginFactory

Methods

CreateFromFunctions(String, IEnumerable<KernelFunction>)

Initializes the new plugin from the provided name and function collection.

CreateFromFunctions(String, String, IEnumerable<KernelFunction>)

Initializes the new plugin from the provided name, description, and function collection.

CreateFromObject(Object, String, ILoggerFactory)

Creates a plugin that wraps the specified target object.

CreateFromType<T>(String, IServiceProvider)

Creates a plugin that wraps a new instance of the specified type T.

Applies to