using zero.Core.Entities; namespace zero.Core.Options { public class IconOptions : ZeroBackofficeCollection, IZeroCollectionOptions { /// /// Add a new backoffice icon set /// /// Alias for reference /// Name of the icon set /// Path to the SVG sprite containing addressable symbols /// Optional symbol identifier prefix (by default the alias is used) public void AddSet(string alias, string name, string spritePath, string prefix = null) { Items.Add(new IconSet() { Alias = alias, Name = name, SpritePath = spritePath, Prefix = prefix ?? alias }); } } }