using System; using Swan.Collections; namespace Swan { /// /// Provides extension methods for types implementing . /// public static class ComponentCollectionExtensions { /// /// Adds the specified component to a collection, without giving it a name. /// /// The type of components in the collection. /// The on which this method is called. /// The component to add. /// is . /// public static void Add(this IComponentCollection @this, T component) => @this.Add(null, component); } }