rework SymbolFactory

- rename & move to Pilz.UI..Telerik.Symbols.RadSymbolFactory
- make default implementaiton available at Pilz.UI.Symbols.SymbolFactory
- add interfaces
This commit is contained in:
Schedel Pascal
2024-07-08 06:26:05 +02:00
parent f1204f686a
commit 1b448c3838
11 changed files with 157 additions and 134 deletions

View File

@@ -0,0 +1,12 @@
using System.Reflection;
namespace Pilz.UI.Symbols;
public interface ISymbolFactory<TSymbols>
{
Image? GetImage(TSymbols svgImage, Size size);
Image? GetImage(TSymbols svgImage, SymbolSize size);
Assembly GetImageResourceAssembly();
string GetImageRessourcePath(TSymbols svgImage);
Stream? GetImageRessourceStream(TSymbols svgImage);
}