C# Class AcManager.Pages.Drive.QuickDrive_GridTest.ViewModel

Inheritance: QuickDriveModeViewModel, IHierarchicalItemPreviewProvider
Show file Open project: gro-ove/actools

Public Methods

Method Description
Drive ( Game basicProperties, Game assistsProperties, Game conditionProperties, Game trackProperties ) : System.Threading.Tasks.Task
GetPreview ( object item ) : object
Load ( ) : void
OnSelectedUpdated ( CarObject selectedCar, TrackObjectBase selectedTrack ) : void
Unload ( ) : void
ViewModel ( bool initialize = true ) : System

Protected Methods

Method Description
GetModeProperties ( IEnumerable botCars ) : Game.BaseModeProperties
InitializeSaveable ( ) : void

Will be called in constuctor!

Load ( SaveableData o ) : void
Reset ( ) : void
Save ( SaveableData result ) : void

Method Details

Drive() public method

public Drive ( Game basicProperties, Game assistsProperties, Game conditionProperties, Game trackProperties ) : System.Threading.Tasks.Task
basicProperties AcTools.Processes.Game
assistsProperties AcTools.Processes.Game
conditionProperties AcTools.Processes.Game
trackProperties AcTools.Processes.Game
return System.Threading.Tasks.Task

GetModeProperties() protected method

protected GetModeProperties ( IEnumerable botCars ) : Game.BaseModeProperties
botCars IEnumerable
return Game.BaseModeProperties

GetPreview() public method

public GetPreview ( object item ) : object
item object
return object

InitializeSaveable() protected method

Will be called in constuctor!
protected InitializeSaveable ( ) : void
return void

Load() public method

public Load ( ) : void
return void

Load() protected method

protected Load ( SaveableData o ) : void
o SaveableData
return void

OnSelectedUpdated() public method

public OnSelectedUpdated ( CarObject selectedCar, TrackObjectBase selectedTrack ) : void
selectedCar AcManager.Tools.Objects.CarObject
selectedTrack AcManager.Tools.Objects.TrackObjectBase
return void

Reset() protected method

protected Reset ( ) : void
return void

Save() protected method

protected Save ( SaveableData result ) : void
result SaveableData
return void

Unload() public method

public Unload ( ) : void
return void

ViewModel() public method

public ViewModel ( bool initialize = true ) : System
initialize bool
return System