Table of Contents

Class DelegatePluginContextFactory

Namespace
JD.AI.Core.Plugins
Assembly
JD.AI.Core.dll

Delegate-backed context factory for lightweight hosts and tests.

public sealed class DelegatePluginContextFactory : IPluginContextFactory
Inheritance
DelegatePluginContextFactory
Implements
Inherited Members

Constructors

DelegatePluginContextFactory(Func<IPluginContext>)

public DelegatePluginContextFactory(Func<IPluginContext> factory)

Parameters

factory Func<IPluginContext>

Methods

CreateContext()

public IPluginContext CreateContext()

Returns

IPluginContext