C# Class AcManager.Tools.Objects.TrackObject

Inheritance: TrackObjectBase
Mostrar archivo Open project: gro-ove/actools Class Usage Examples

Private Properties

Property Type Description
Configuration_PropertyChanged void
FindNameForMultiLayoutMode string
GetLayouts LayoutsInformation
IsMultiLayoutsChanged bool

Public Methods

Method Description
GetLayoutById ( string idWithLayout ) : TrackObjectBase

Get layout by id+layout id.

GetLayoutByLayoutId ( string layoutId ) : TrackObjectBase

Get layout by its id.

HandleChangedFile ( string filename ) : bool
Reload ( ) : void
Save ( ) : void
TrackObject ( IFileAcManager manager, string id, bool enabled ) : System

Protected Methods

Method Description
InitializeLocationsInner ( string uiDirectory ) : void
LoadOrThrow ( ) : void

Private Methods

Method Description
Configuration_PropertyChanged ( object sender, PropertyChangedEventArgs e ) : void
FindNameForMultiLayoutMode ( IReadOnlyList obj ) : string
GetLayouts ( ) : LayoutsInformation
IsMultiLayoutsChanged ( ) : bool

Method Details

GetLayoutById() public method

Get layout by id+layout id.
public GetLayoutById ( string idWithLayout ) : TrackObjectBase
idWithLayout string Id with layout id ("ks_nordschleife/touristenfahrten")
return TrackObjectBase

GetLayoutByLayoutId() public method

Get layout by its id.
public GetLayoutByLayoutId ( string layoutId ) : TrackObjectBase
layoutId string Layout id ("touristenfahrten", not "ks_nordschleife/touristenfahrten"!)
return TrackObjectBase

HandleChangedFile() public method

public HandleChangedFile ( string filename ) : bool
filename string
return bool

InitializeLocationsInner() protected method

protected InitializeLocationsInner ( string uiDirectory ) : void
uiDirectory string
return void

LoadOrThrow() protected method

protected LoadOrThrow ( ) : void
return void

Reload() public method

public Reload ( ) : void
return void

Save() public method

public Save ( ) : void
return void

TrackObject() public method

public TrackObject ( IFileAcManager manager, string id, bool enabled ) : System
manager IFileAcManager
id string
enabled bool
return System