mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-04 16:27:21 +00:00
15 lines
560 B
C#
15 lines
560 B
C#
namespace AIStudio.Tools.PluginSystem;
|
|
|
|
public static class InternalPluginExtensions
|
|
{
|
|
extension(InternalPlugin plugin)
|
|
{
|
|
public InternalPluginData MetaData() => plugin switch
|
|
{
|
|
InternalPlugin.LANGUAGE_EN_US => new (PluginType.LANGUAGE, new("97dfb1ba-50c4-4440-8dfa-6575daf543c8"), "en-us"),
|
|
InternalPlugin.LANGUAGE_DE_DE => new(PluginType.LANGUAGE, new("43065dbc-78d0-45b7-92be-f14c2926e2dc"), "de-de"),
|
|
|
|
_ => new InternalPluginData(PluginType.NONE, Guid.Empty, "unknown")
|
|
};
|
|
}
|
|
} |