/// <summary> /// Initializes a new instance of the <see cref="MachineStateManager"/> class. /// </summary> internal MachineStateManager(MachineRuntime runtime, Machine machine, Guid operationGroupId) { this.Runtime = runtime; this.Machine = machine; this.IsEventHandlerRunning = true; this.OperationGroupId = operationGroupId; }
/// <summary> /// Initializes this machine. /// </summary> internal void Initialize(MachineRuntime runtime, MachineId mid) { this.Runtime = runtime; this.Id = mid; }