/// <summary> /// Returns a sequence of two attributes. /// </summary> public static IEnumerable <ElementAttribute> Append(this ElementAttribute first, ElementAttribute second) => Enumerable.Empty <ElementAttribute>().Append(first).Append(second);
/// <summary> /// Concatenates attributes. /// </summary> public static IEnumerable <ElementAttribute> Concat(this ElementAttribute first, IEnumerable <ElementAttribute> second) => second.Prepend(first);