public ShowVehiclePropertyAttribute(EVehicleProfile prohibitedProfile) { ProhibitedProfiles = prohibitedProfile; }
internal void SwitchVehicleListTo(string key, IEnumerable <IVehicle> vehicles, EVehicleProfile vehicleProfile, ELanguage language) { _presenter.ToggleLongOperationIndicator(true); _vehicleListControl.VehicleProfile = vehicleProfile; _vehicleListControl.SetDataSource(key, vehicles, language); _vehicleListControl.AdjustControlVisibility(); _vehicleListControl.ResetScrollPosition(); _tabControl.SelectedItem = _vehicleListTab; _presenter.ToggleLongOperationIndicator(false); }