//------------------------------------------------------------------ protected virtual void Add(Object item) { Components.Add(item); }
public static T GetOrAdd <T>(this Components components) where T : Component { return(components.Get <T>() ?? components.Add <T>()); }