示例#1
0
 public ShowVehiclePropertyAttribute(EVehicleProfile prohibitedProfile)
 {
     ProhibitedProfiles = prohibitedProfile;
 }
示例#2
0
        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);
        }