public MaterialDesignIcon(string name, string codepoint) { Name = name; DotNetName = DotNetNameHelper.ToDotNetName(Name); Unicode = codepoint; Url = "https://material.io/resources/icons/?icon=" + name; }
public FontAwesomeIcon(Datum datum) { var attr = datum.Attributes; Name = attr.Id; DotNetName = DotNetNameHelper.ToDotNetName(Name); Unicode = attr.Unicode; Url = "https://fontawesome.com/icons/" + attr.Id; Styles = attr.Styles?.ToList() ?? new List <Style>(); Membership = attr.Membership; }