18 lines
427 B
C#
18 lines
427 B
C#
using System.Reflection;
|
|
using Pilz.UI.AvaloniaUI.Symbols;
|
|
|
|
namespace ModpackUpdater.Apps;
|
|
|
|
internal class AppSymbolFactory : SymbolFactory<AppSymbols>
|
|
{
|
|
public override Assembly GetImageResourceAssembly()
|
|
{
|
|
return typeof(AppSymbols).Assembly;
|
|
}
|
|
|
|
public override string GetImageRessourcePath(AppSymbols svgImage)
|
|
{
|
|
return $"{typeof(AppSymbols).Namespace}.Symbols.{svgImage}.svg";
|
|
}
|
|
}
|