Ejemplo n.º 1
0
 /// <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;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes this machine.
 /// </summary>
 internal void Initialize(MachineRuntime runtime, MachineId mid)
 {
     this.Runtime = runtime;
     this.Id      = mid;
 }