Table of Contents

Class UserService

Namespace
Hi.HiNcKits
Assembly
HiNc.dll

User Service.

public class UserService : IDisposable
Inheritance
UserService
Implements
Inherited Members
Extension Methods

Constructors

UserService(UserConfig, ILogger)

Initializes a new instance of the UserService class with the specified configuration.

public UserService(UserConfig appConfig, ILogger logger)

Parameters

appConfig UserConfig

The application configuration.

logger ILogger

The logger instance.

UserService(ILogger)

Initializes a new instance of the UserService class.

public UserService(ILogger logger)

Parameters

logger ILogger

The logger instance.

Properties

AdditionalStepPresentAccess

Gets or sets additional step presentation access configurations.

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

Property Value

Dictionary<string, PresentAccess>

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>

UserConfig

Gets or sets the application configuration.

public UserConfig UserConfig { get; set; }

Property Value

UserConfig

UserConfigPath

Gets or sets the path to the application configuration file.

public string UserConfigPath { get; set; }

Property Value

string

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 UserConfigPath.

public void SaveUserConfig()