more refactoring
This commit is contained in:
18
ModpackUpdater.Apps/AppSymbolFactory.cs
Normal file
18
ModpackUpdater.Apps/AppSymbolFactory.cs
Normal 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";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user