Class UserService
User Service.
public class UserService : IDisposable
- Inheritance
-
UserService
- Implements
- Inherited Members
Remarks
Sample-owned copy, kept so the DemoSessionMessage step-present demo still compiles. Each GUI/APP keeps its own version; the core engine package (HiNc) no longer carries this GUI service type.
Constructors
UserService(ILogger)
Initializes a new instance of the UserService class.
public UserService(ILogger logger)
Parameters
loggerILoggerThe logger instance.
UserService(UserConfig, ILogger)
Initializes a new instance of the UserService class with the specified configuration.
public UserService(UserConfig appConfig, ILogger logger)
Parameters
appConfigUserConfigThe application configuration.
loggerILoggerThe logger instance.
Properties
AdditionalStepPresentAccess
Gets or sets additional step presentation access configurations.
public Dictionary<string, PresentAccess> AdditionalStepPresentAccess { 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
UserConfig
Gets or sets the application configuration.
public UserConfig UserConfig { get; set; }
Property Value
UserConfigPath
Gets or sets the path to the application configuration file.
public string UserConfigPath { get; set; }
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
disposingbool
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()