Table of Contents

Class AppService

Namespace
Hi.HiNcKits
Assembly
HiNc.dll

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 AppConfig

The application configuration.

Properties

AdditionalStepPresentAccess

Gets or sets additional step presentation access configurations.

public Dictionary<string, PresentAccess> AdditionalStepPresentAccess { get; set; }

Property Value

Dictionary<string, PresentAccess>

AppConfig

Gets or sets the application configuration.

public AppConfig AppConfig { get; set; }

Property Value

AppConfig

AppConfigPath

Gets or sets the path to the application configuration file.

public string AppConfigPath { get; set; }

Property Value

string

CandidateStepPresentKeyList

Candidate Step Present Key List for display. Read only.

public List<string> CandidateStepPresentKeyList { get; }

Property Value

List<string>

DisplayedStepPresentAccessList

StepPresentAccessList for display. Read only.

public List<KeyValuePair<string, PresentAccess>> DisplayedStepPresentAccessList { get; }

Property Value

List<KeyValuePair<string, PresentAccess>>

EnablePhysics

Gets whether physics features are enabled based on configuration and license.

public bool EnablePhysics { get; }

Property Value

bool

IsPhysicsLicensed

Gets whether advanced physics features are licensed.

public bool IsPhysicsLicensed { get; }

Property Value

bool

SelectedItem

Gets or sets the currently selected item in the application.

public object SelectedItem { get; set; }

Property Value

object

StepPresentAccessDictionary

StepPresentAccessDictionary. Read only.

public Dictionary<string, PresentAccess> StepPresentAccessDictionary { get; }

Property Value

Dictionary<string, PresentAccess>

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()