more refactoring

This commit is contained in:
2024-09-06 09:14:25 +02:00
parent 3625962a27
commit 5bccd070f4
31 changed files with 216 additions and 71 deletions

View File

@@ -0,0 +1,18 @@
using Pilz.UI.Telerik;
using Pilz.UI.Telerik.Symbols;
using System.Reflection;
namespace ModpackUpdater.Apps;
internal class AppSymbolFactory : RadSymbolFactory<AppSymbols>
{
public override Assembly GetImageResourceAssembly()
{
return Assembly.GetExecutingAssembly();
}
public override string GetImageRessourcePath(AppSymbols svgImage)
{
return $"{GetType().Namespace}.Symbols.{svgImage}.svg";
}
}