Exemplo n.º 1
0
 public MaterialDesignIcon(string name, string codepoint)
 {
     Name       = name;
     DotNetName = DotNetNameHelper.ToDotNetName(Name);
     Unicode    = codepoint;
     Url        = "https://material.io/resources/icons/?icon=" + name;
 }
Exemplo n.º 2
0
        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;
        }