namespace AIStudio.Tools.PluginSystem; public sealed class PluginMetadata(PluginBase plugin, string localPath) : IAvailablePlugin { #region Implementation of IPluginMetadata /// public string IconSVG { get; } = plugin.IconSVG; /// public PluginType Type { get; } = plugin.Type; /// public Guid Id { get; } = plugin.Id; /// public string Name { get; } = plugin.Name; /// public string Description { get; } = plugin.Description; /// public PluginVersion Version { get; } = plugin.Version; /// public string[] Authors { get; } = plugin.Authors; /// public string SupportContact { get; } = plugin.SupportContact; /// public string SourceURL { get; } = plugin.SourceURL; /// public PluginCategory[] Categories { get; } = plugin.Categories; /// public PluginTargetGroup[] TargetGroups { get; } = plugin.TargetGroups; /// public bool IsMaintained { get; } = plugin.IsMaintained; /// public string DeprecationMessage { get; } = plugin.DeprecationMessage; /// public bool IsInternal { get; } = plugin.IsInternal; #endregion #region Implementation of IAvailablePlugin public string LocalPath { get; } = localPath; #endregion }