migration due nuget updates

This commit is contained in:
2024-09-05 14:53:39 +02:00
parent 7c4dae8c8d
commit 46179463e1
3 changed files with 24 additions and 22 deletions

View File

@@ -1,18 +1,19 @@
using Pilz.UI.Telerik;
using Pilz.UI.Telerik.Symbols;
using System.Reflection;
namespace ModpackUpdater;
public class AppSymbolFactory : SymbolFactory<AppSymbols>
public class AppSymbolFactory : RadSymbolFactory<AppSymbols>
{
public static AppSymbolFactory Instance { get; } = new();
public static IRadSymbolFactory<AppSymbols> Instance { get; } = new AppSymbolFactory();
public override Assembly GetSvgImageResourceAssembly()
public override Assembly GetImageResourceAssembly()
{
return Assembly.GetExecutingAssembly();
}
public override string GetSvgImageRessourcePath(AppSymbols svgImage)
public override string GetImageRessourcePath(AppSymbols svgImage)
{
return $"{GetType().Namespace}.Symbols.{svgImage}.svg";
}