using Pilz.UI.Telerik.Symbols; using System.Reflection; using System.Runtime.CompilerServices; namespace PJ64Savestater; public static class AppGlobals { public static IRadSymbolFactory Symbols { get; } = new AppSymbolFactory(); private class AppSymbolFactory : RadSymbolFactory { public override Assembly GetImageResourceAssembly() { return Assembly.GetExecutingAssembly(); } public override string GetImageRessourcePath(AppSymbols svgImage) { return $"{typeof(AppGlobals).Namespace}.Symbols.{svgImage}.svg"; } } }