re-organze namespace
This commit is contained in:
20
ModpackUpdater.Apps.Client/AppSymbolFactory.cs
Normal file
20
ModpackUpdater.Apps.Client/AppSymbolFactory.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using Pilz.UI.Telerik;
|
||||
using Pilz.UI.Telerik.Symbols;
|
||||
using System.Reflection;
|
||||
|
||||
namespace ModpackUpdater.Apps.Client;
|
||||
|
||||
public class AppSymbolFactory : RadSymbolFactory<AppSymbols>
|
||||
{
|
||||
public static IRadSymbolFactory<AppSymbols> Instance { get; } = new AppSymbolFactory();
|
||||
|
||||
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