Example #1
0
 /// <summary>
 /// Returns the <see cref="FAStyleAttribute" /> associated with the style, containing its metadata
 /// </summary>
 public static FAStyleAttribute GetFAStyleAttribute(this FAStyle style) =>
 style.GetAttributeOfType <FAStyleAttribute>();
Example #2
0
 /// <summary>
 /// Returns the name of the style, eg "brands"
 /// </summary>
 public static string Style(this FAStyle icon) => icon.GetAttributeOfType <FAStyleAttribute>().Style;