public static void Register() { GeneralProviders.Register(); foreach (TrainCarType carType in Enum.GetValues(typeof(TrainCarType))) { if (CarTypes.IsLocomotive(carType)) { LocoProviders.Register(carType); } } }
public static void Register() { GeneralProviders.Register(); LocoProviders.Register(); }