Table of Contents

Interface IPluginMetadataProvider

Namespace
SemanticPluginForge.Core
Assembly
SemanticPluginForge.Core.dll

Interface for a plugin metadata provider.

public interface IPluginMetadataProvider

Methods

GetFunctionMetadata(KernelPlugin, KernelFunctionMetadata)

Gets the patched metadata for a function.

FunctionMetadata? GetFunctionMetadata(KernelPlugin plugin, KernelFunctionMetadata metadata)

Parameters

plugin KernelPlugin

The plugin where which this function belongs to.

metadata KernelFunctionMetadata

The original metadata for the function.

Returns

FunctionMetadata

Returns a new instance of the function metadata with patched descriptions or null.

GetPluginMetadata(KernelPlugin)

Gets the description for a plugin.

PluginMetadata? GetPluginMetadata(KernelPlugin plugin)

Parameters

plugin KernelPlugin

The plugin for which the description should be returned.

Returns

PluginMetadata

Returns plugin metadata or null.