Skip to content

PosSharp.Core.Lifecycle.UposLifecycleManager

github-actions[bot] edited this page May 8, 2026 · 7 revisions

PosSharp v1.2.0 API Reference


UposLifecycleManager Class

Manages the lifecycle of a UPOS device by coordinating state transitions.

public sealed class UposLifecycleManager

Inheritance System.Object 🡒 UposLifecycleManager

Constructors
UposLifecycleManager(IUposMediator, IUposLifecycleHandler) Manages the lifecycle of a UPOS device by coordinating state transitions.
Properties
IsStateVerificationEnabled Gets or sets a value indicating whether state verification is enabled.
Methods
PostClaim() Updates state after claiming the device.
PostClose() Updates state after closing the device.
PostDisable() Updates state after disabling the device.
PostEnable() Updates state after enabling the device.
PostOpen() Updates state after opening the device.
PostRelease() Updates state after releasing the device.
PreClaim() Validates requirements before claiming the device.
PreClose() Validates requirements before closing the device.
PreDisable() Validates requirements before disabling the device.
PreEnable() Validates requirements before enabling the device.
PreOpen() Validates requirements before opening the device.
PreRelease() Validates requirements before releasing the device.
Reset() Resets the device to the closed state.
TransitionTo(ControlState) Transitions the device to the specified state.
VerifyState(ControlState) Verifies that the device is in the required state.
VerifyState(ControlState[]) Verifies that the device is in one of the allowed states.

Clone this wiki locally