public Entity Add(ComponentBase component) { this.AddComponentAndDispatchAddEvent(component, component.GetType()); return(this); }
public Entity Add <T>(ComponentBase component) where T : ComponentBase { return(this.Add(component, typeof(T))); }