Added provider icons (#934)

Co-authored-by: Thorsten Sommer <SommerEngineering@users.noreply.github.com>
This commit is contained in:
Peer HogeterpandThorsten Sommer authored and GitHub committed 2026-08-25 12:46:10 +02:00
1 parent afdcc0455d
commit e78a0e61b9
74 files changed
+1018 -74

No files matched your search

@@ -16,8 +16,8 @@ public abstract partial class PluginBase : IPluginMetadata, IDisposable
protected readonly List<string> PluginIssues = [];
/// <inheritdoc />
public string IconSVG { get; }
public string IconDataUrl { get; }
/// <inheritdoc />
public PluginType Type { get; }
@@ -88,14 +88,14 @@ public abstract partial class PluginBase : IPluginMetadata, IDisposable
if (this is NoPlugin or NoPluginLanguage)
{
this.IsInternal = isInternal;
this.IconSVG = string.Empty;
this.IconDataUrl = string.Empty;
this.baseIssues = issues;
return;
}
// Notice: when no icon is specified, the default icon will be used.
this.TryInitIconSVG(out _, out var iconSVG);
this.IconSVG = iconSVG;
this.TryInitIconDataUrl(out _, out var iconDataUrl);
this.IconDataUrl = iconDataUrl;
if(this.TryInitId(out var issue, out var id))
{