Table of Contents

Class PluginBuilder

Namespace
SemanticPluginForge.Core
Assembly
SemanticPluginForge.Core.dll

Class for building a plugin with metadata.

public class PluginBuilder : IPluginBuilder, IFunctionBuilder
Inheritance
PluginBuilder
Implements
Inherited Members

Constructors

PluginBuilder(IPluginMetadataProvider)

Class for building a plugin with metadata.

public PluginBuilder(IPluginMetadataProvider metadataProvider)

Parameters

metadataProvider IPluginMetadataProvider

The metadata provider to retrieve external metadata to use to update the plugin.

Methods

PatchKernelFunctionWithMetadata(KernelPlugin, KernelFunction)

Patch a KernelFunction object.

public KernelFunction? PatchKernelFunctionWithMetadata(KernelPlugin plugin, KernelFunction function)

Parameters

plugin KernelPlugin

The plugin which contains the function.

function KernelFunction

The function which should be patched.

Returns

KernelFunction

Returns null if the function should be suppressed, function if the function should not be patched otherwise the patched function.

PatchKernelPluginWithMetadata(KernelPlugin)

Patch a KernelPlugin object.

public KernelPlugin PatchKernelPluginWithMetadata(KernelPlugin plugin)

Parameters

plugin KernelPlugin

The plugin which should be patched.

Returns

KernelPlugin

Returns the patched plugin instance.