21 lines
543 B
C#
21 lines
543 B
C#
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";
|
|
}
|
|
}
|