Skip to content

PosSharp.Core

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

PosSharp v1.2.0 API Reference


PosSharp.Core Namespace

Classes
AtomicState<TState> Compare-And-Swap (CAS) ベースのアトミックな状態管理を提供します。 immutable な参照型と組み合わせることで、Lock を使用せずに スレッドセーフな状態遷移を実現します。
MediatorSnapshot UposMediator の内部状態スナップショットを表します。
UposDeviceBase A generic base implementation of PosSharp.Abstractions.IUposDevice that manages state transitions via a modular mediator and lifecycle manager.
UposMediator A reactive implementation of the UPOS mediator.
UposMediatorExtensions Provides extension methods for PosSharp.Abstractions.IUposMediator.
UposStateException Exception thrown when a UPOS device is in an invalid state for the requested operation.
Structs
StateTransitionResult<TState> スレッドセーフな状態遷移の結果を表します。

Clone this wiki locally