add Pilz.UI.Telerik.Symbols
This commit is contained in:
17
Pilz.UI.Telerik.Symbols/Factories/FluentFactory.cs
Normal file
17
Pilz.UI.Telerik.Symbols/Factories/FluentFactory.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using Pilz.SymbolPacks.Fluent;
|
||||
using System.Reflection;
|
||||
|
||||
namespace Pilz.UI.Telerik.Symbols.Factories;
|
||||
|
||||
internal class FluentFactory : RadSymbolFactory<SymbolsFluent>
|
||||
{
|
||||
public override Assembly GetImageResourceAssembly()
|
||||
{
|
||||
return typeof(SymbolsFluent).Assembly;
|
||||
}
|
||||
|
||||
public override string GetImageRessourcePath(SymbolsFluent svgImage)
|
||||
{
|
||||
return $"{typeof(SymbolsFluent).Namespace}.Files.{svgImage}.svg";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user