Class AppService
Application/Environment Service.
public class AppService : IDisposable
- Inheritance
-
AppService
- Implements
- Inherited Members
- Extension Methods
Constructors
AppService()
Initializes a new instance of the AppService class.
public AppService()
AppService(AppConfig)
Initializes a new instance of the AppService class with the specified configuration.
public AppService(AppConfig appConfig)
Parameters
appConfig
AppConfigThe application configuration.
Properties
AdditionalStepPresentAccess
Gets or sets additional step presentation access configurations.
public Dictionary<string, PresentAccess> AdditionalStepPresentAccess { get; set; }
Property Value
AppConfig
Gets or sets the application configuration.
public AppConfig AppConfig { get; set; }
Property Value
AppConfigPath
Gets or sets the path to the application configuration file.
public string AppConfigPath { get; set; }
Property Value
CandidateStepPresentKeyList
Candidate Step Present Key List for display. Read only.
public List<string> CandidateStepPresentKeyList { get; }
Property Value
DisplayedStepPresentAccessList
StepPresentAccessList for display. Read only.
public List<KeyValuePair<string, PresentAccess>> DisplayedStepPresentAccessList { get; }
Property Value
EnablePhysics
Gets whether physics features are enabled based on configuration and license.
public bool EnablePhysics { get; }
Property Value
IsPhysicsLicensed
Gets whether advanced physics features are licensed.
public bool IsPhysicsLicensed { get; }
Property Value
SelectedItem
Gets or sets the currently selected item in the application.
public object SelectedItem { get; set; }
Property Value
StepPresentAccessDictionary
StepPresentAccessDictionary. Read only.
public Dictionary<string, PresentAccess> StepPresentAccessDictionary { get; }
Property Value
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
Dispose(bool)
protected virtual void Dispose(bool disposing)
Parameters
disposing
bool
LooseSaveUserConfig()
Schedules a loose save of the user configuration using a LooseRunner.
public void LooseSaveUserConfig()
SaveUserConfig()
Saves the user configuration to the file specified by AppConfigPath.
public void SaveUserConfig()