mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-04-28 10:19:47 +00:00
12 lines
520 B
C#
12 lines
520 B
C#
|
namespace AIStudio.Tools.PluginSystem;
|
||
|
|
||
|
public static class InternalPluginExtensions
|
||
|
{
|
||
|
public static InternalPluginData MetaData(this InternalPlugin plugin) => 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")
|
||
|
};
|
||
|
}
|