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
KernelPluginThe plugin where which this function belongs to.
metadata
KernelFunctionMetadataThe 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
KernelPluginThe plugin for which the description should be returned.
Returns
- PluginMetadata
Returns plugin metadata or null.