public StateContainer(ProtocolState state)
 {
     this.coordinatorInitializing                 = new Microsoft.Transactions.Wsat.StateMachines.CoordinatorInitializing(state);
     this.coordinatorEnlisting                    = new Microsoft.Transactions.Wsat.StateMachines.CoordinatorEnlisting(state);
     this.coordinatorEnlisted                     = new Microsoft.Transactions.Wsat.StateMachines.CoordinatorEnlisted(state);
     this.coordinatorRegisteringBoth              = new Microsoft.Transactions.Wsat.StateMachines.CoordinatorRegisteringBoth(state);
     this.coordinatorRegisteringDurable           = new Microsoft.Transactions.Wsat.StateMachines.CoordinatorRegisteringDurable(state);
     this.coordinatorRegisteringVolatile          = new Microsoft.Transactions.Wsat.StateMachines.CoordinatorRegisteringVolatile(state);
     this.coordinatorVolatileActive               = new Microsoft.Transactions.Wsat.StateMachines.CoordinatorVolatileActive(state);
     this.coordinatorVolatilePreparing            = new Microsoft.Transactions.Wsat.StateMachines.CoordinatorVolatilePreparing(state);
     this.coordinatorVolatilePreparingRegistering = new Microsoft.Transactions.Wsat.StateMachines.CoordinatorVolatilePreparingRegistering(state);
     this.coordinatorVolatilePreparingRegistered  = new Microsoft.Transactions.Wsat.StateMachines.CoordinatorVolatilePreparingRegistered(state);
     this.coordinatorActive                = new Microsoft.Transactions.Wsat.StateMachines.CoordinatorActive(state);
     this.coordinatorPreparing             = new Microsoft.Transactions.Wsat.StateMachines.CoordinatorPreparing(state);
     this.coordinatorPrepared              = new Microsoft.Transactions.Wsat.StateMachines.CoordinatorPrepared(state);
     this.coordinatorCommitting            = new Microsoft.Transactions.Wsat.StateMachines.CoordinatorCommitting(state);
     this.coordinatorRecovering            = new Microsoft.Transactions.Wsat.StateMachines.CoordinatorRecovering(state);
     this.coordinatorRecovered             = new Microsoft.Transactions.Wsat.StateMachines.CoordinatorRecovered(state);
     this.coordinatorAwaitingEndOfRecovery = new Microsoft.Transactions.Wsat.StateMachines.CoordinatorAwaitingEndOfRecovery(state);
     this.coordinatorFailedRecovery        = new Microsoft.Transactions.Wsat.StateMachines.CoordinatorFailedRecovery(state);
     this.coordinatorCommitted             = new Microsoft.Transactions.Wsat.StateMachines.CoordinatorCommitted(state);
     this.coordinatorAborted               = new Microsoft.Transactions.Wsat.StateMachines.CoordinatorAborted(state);
     this.coordinatorForgotten             = new Microsoft.Transactions.Wsat.StateMachines.CoordinatorForgotten(state);
     this.coordinatorReadOnlyInDoubt       = new Microsoft.Transactions.Wsat.StateMachines.CoordinatorReadOnlyInDoubt(state);
     this.coordinatorInitializationFailed  = new Microsoft.Transactions.Wsat.StateMachines.CoordinatorInitializationFailed(state);
     this.completionInitializing           = new Microsoft.Transactions.Wsat.StateMachines.CompletionInitializing(state);
     this.completionCreating               = new Microsoft.Transactions.Wsat.StateMachines.CompletionCreating(state);
     this.completionCreated                = new Microsoft.Transactions.Wsat.StateMachines.CompletionCreated(state);
     this.completionActive               = new Microsoft.Transactions.Wsat.StateMachines.CompletionActive(state);
     this.completionCommitting           = new Microsoft.Transactions.Wsat.StateMachines.CompletionCommitting(state);
     this.completionAborting             = new Microsoft.Transactions.Wsat.StateMachines.CompletionAborting(state);
     this.completionCommitted            = new Microsoft.Transactions.Wsat.StateMachines.CompletionCommitted(state);
     this.completionAborted              = new Microsoft.Transactions.Wsat.StateMachines.CompletionAborted(state);
     this.completionInitializationFailed = new Microsoft.Transactions.Wsat.StateMachines.CompletionInitializationFailed(state);
     this.subordinateInitializing        = new Microsoft.Transactions.Wsat.StateMachines.SubordinateInitializing(state);
     this.subordinateRegistering         = new Microsoft.Transactions.Wsat.StateMachines.SubordinateRegistering(state);
     this.subordinateActive              = new Microsoft.Transactions.Wsat.StateMachines.SubordinateActive(state);
     this.subordinateFinished            = new Microsoft.Transactions.Wsat.StateMachines.SubordinateFinished(state);
     this.durableRegistering             = new Microsoft.Transactions.Wsat.StateMachines.DurableRegistering(state);
     this.durableActive                             = new Microsoft.Transactions.Wsat.StateMachines.DurableActive(state);
     this.durableUnregistered                       = new Microsoft.Transactions.Wsat.StateMachines.DurableUnregistered(state);
     this.durablePreparing                          = new Microsoft.Transactions.Wsat.StateMachines.DurablePreparing(state);
     this.durablePrepared                           = new Microsoft.Transactions.Wsat.StateMachines.DurablePrepared(state);
     this.durableCommitting                         = new Microsoft.Transactions.Wsat.StateMachines.DurableCommitting(state);
     this.durableRecovering                         = new Microsoft.Transactions.Wsat.StateMachines.DurableRecovering(state);
     this.durableRejoined                           = new Microsoft.Transactions.Wsat.StateMachines.DurableRejoined(state);
     this.durableRecoveryAwaitingCommit             = new Microsoft.Transactions.Wsat.StateMachines.DurableRecoveryAwaitingCommit(state);
     this.durableRecoveryReceivedCommit             = new Microsoft.Transactions.Wsat.StateMachines.DurableRecoveryReceivedCommit(state);
     this.durableRecoveryAwaitingRollback           = new Microsoft.Transactions.Wsat.StateMachines.DurableRecoveryAwaitingRollback(state);
     this.durableRecoveryReceivedRollback           = new Microsoft.Transactions.Wsat.StateMachines.DurableRecoveryReceivedRollback(state);
     this.durableFailedRecovery                     = new Microsoft.Transactions.Wsat.StateMachines.DurableFailedRecovery(state);
     this.durableCommitted                          = new Microsoft.Transactions.Wsat.StateMachines.DurableCommitted(state);
     this.durableAborted                            = new Microsoft.Transactions.Wsat.StateMachines.DurableAborted(state);
     this.durableInDoubt                            = new Microsoft.Transactions.Wsat.StateMachines.DurableInDoubt(state);
     this.durableInitializationFailed               = new Microsoft.Transactions.Wsat.StateMachines.DurableInitializationFailed(state);
     this.volatileRegistering                       = new Microsoft.Transactions.Wsat.StateMachines.VolatileRegistering(state);
     this.volatilePhaseZeroActive                   = new Microsoft.Transactions.Wsat.StateMachines.VolatilePhaseZeroActive(state);
     this.volatilePhaseZeroUnregistered             = new Microsoft.Transactions.Wsat.StateMachines.VolatilePhaseZeroUnregistered(state);
     this.volatilePhaseOneUnregistered              = new Microsoft.Transactions.Wsat.StateMachines.VolatilePhaseOneUnregistered(state);
     this.volatilePrePreparing                      = new Microsoft.Transactions.Wsat.StateMachines.VolatilePrePreparing(state);
     this.volatilePrePrepared                       = new Microsoft.Transactions.Wsat.StateMachines.VolatilePrePrepared(state);
     this.volatilePrepared                          = new Microsoft.Transactions.Wsat.StateMachines.VolatilePrepared(state);
     this.volatileCommitting                        = new Microsoft.Transactions.Wsat.StateMachines.VolatileCommitting(state);
     this.volatileAborting                          = new Microsoft.Transactions.Wsat.StateMachines.VolatileAborting(state);
     this.volatileCommitted                         = new Microsoft.Transactions.Wsat.StateMachines.VolatileCommitted(state);
     this.volatileAborted                           = new Microsoft.Transactions.Wsat.StateMachines.VolatileAborted(state);
     this.volatileInDoubt                           = new Microsoft.Transactions.Wsat.StateMachines.VolatileInDoubt(state);
     this.volatileInitializationFailed              = new Microsoft.Transactions.Wsat.StateMachines.VolatileInitializationFailed(state);
     this.transactionContextInitializing            = new Microsoft.Transactions.Wsat.StateMachines.TransactionContextInitializing(state);
     this.transactionContextInitializingCoordinator = new Microsoft.Transactions.Wsat.StateMachines.TransactionContextInitializingCoordinator(state);
     this.transactionContextActive                  = new Microsoft.Transactions.Wsat.StateMachines.TransactionContextActive(state);
     this.transactionContextFinished                = new Microsoft.Transactions.Wsat.StateMachines.TransactionContextFinished(state);
 }
 public StateContainer(ProtocolState state)
 {
     this.coordinatorInitializing = new Microsoft.Transactions.Wsat.StateMachines.CoordinatorInitializing(state);
     this.coordinatorEnlisting = new Microsoft.Transactions.Wsat.StateMachines.CoordinatorEnlisting(state);
     this.coordinatorEnlisted = new Microsoft.Transactions.Wsat.StateMachines.CoordinatorEnlisted(state);
     this.coordinatorRegisteringBoth = new Microsoft.Transactions.Wsat.StateMachines.CoordinatorRegisteringBoth(state);
     this.coordinatorRegisteringDurable = new Microsoft.Transactions.Wsat.StateMachines.CoordinatorRegisteringDurable(state);
     this.coordinatorRegisteringVolatile = new Microsoft.Transactions.Wsat.StateMachines.CoordinatorRegisteringVolatile(state);
     this.coordinatorVolatileActive = new Microsoft.Transactions.Wsat.StateMachines.CoordinatorVolatileActive(state);
     this.coordinatorVolatilePreparing = new Microsoft.Transactions.Wsat.StateMachines.CoordinatorVolatilePreparing(state);
     this.coordinatorVolatilePreparingRegistering = new Microsoft.Transactions.Wsat.StateMachines.CoordinatorVolatilePreparingRegistering(state);
     this.coordinatorVolatilePreparingRegistered = new Microsoft.Transactions.Wsat.StateMachines.CoordinatorVolatilePreparingRegistered(state);
     this.coordinatorActive = new Microsoft.Transactions.Wsat.StateMachines.CoordinatorActive(state);
     this.coordinatorPreparing = new Microsoft.Transactions.Wsat.StateMachines.CoordinatorPreparing(state);
     this.coordinatorPrepared = new Microsoft.Transactions.Wsat.StateMachines.CoordinatorPrepared(state);
     this.coordinatorCommitting = new Microsoft.Transactions.Wsat.StateMachines.CoordinatorCommitting(state);
     this.coordinatorRecovering = new Microsoft.Transactions.Wsat.StateMachines.CoordinatorRecovering(state);
     this.coordinatorRecovered = new Microsoft.Transactions.Wsat.StateMachines.CoordinatorRecovered(state);
     this.coordinatorAwaitingEndOfRecovery = new Microsoft.Transactions.Wsat.StateMachines.CoordinatorAwaitingEndOfRecovery(state);
     this.coordinatorFailedRecovery = new Microsoft.Transactions.Wsat.StateMachines.CoordinatorFailedRecovery(state);
     this.coordinatorCommitted = new Microsoft.Transactions.Wsat.StateMachines.CoordinatorCommitted(state);
     this.coordinatorAborted = new Microsoft.Transactions.Wsat.StateMachines.CoordinatorAborted(state);
     this.coordinatorForgotten = new Microsoft.Transactions.Wsat.StateMachines.CoordinatorForgotten(state);
     this.coordinatorReadOnlyInDoubt = new Microsoft.Transactions.Wsat.StateMachines.CoordinatorReadOnlyInDoubt(state);
     this.coordinatorInitializationFailed = new Microsoft.Transactions.Wsat.StateMachines.CoordinatorInitializationFailed(state);
     this.completionInitializing = new Microsoft.Transactions.Wsat.StateMachines.CompletionInitializing(state);
     this.completionCreating = new Microsoft.Transactions.Wsat.StateMachines.CompletionCreating(state);
     this.completionCreated = new Microsoft.Transactions.Wsat.StateMachines.CompletionCreated(state);
     this.completionActive = new Microsoft.Transactions.Wsat.StateMachines.CompletionActive(state);
     this.completionCommitting = new Microsoft.Transactions.Wsat.StateMachines.CompletionCommitting(state);
     this.completionAborting = new Microsoft.Transactions.Wsat.StateMachines.CompletionAborting(state);
     this.completionCommitted = new Microsoft.Transactions.Wsat.StateMachines.CompletionCommitted(state);
     this.completionAborted = new Microsoft.Transactions.Wsat.StateMachines.CompletionAborted(state);
     this.completionInitializationFailed = new Microsoft.Transactions.Wsat.StateMachines.CompletionInitializationFailed(state);
     this.subordinateInitializing = new Microsoft.Transactions.Wsat.StateMachines.SubordinateInitializing(state);
     this.subordinateRegistering = new Microsoft.Transactions.Wsat.StateMachines.SubordinateRegistering(state);
     this.subordinateActive = new Microsoft.Transactions.Wsat.StateMachines.SubordinateActive(state);
     this.subordinateFinished = new Microsoft.Transactions.Wsat.StateMachines.SubordinateFinished(state);
     this.durableRegistering = new Microsoft.Transactions.Wsat.StateMachines.DurableRegistering(state);
     this.durableActive = new Microsoft.Transactions.Wsat.StateMachines.DurableActive(state);
     this.durableUnregistered = new Microsoft.Transactions.Wsat.StateMachines.DurableUnregistered(state);
     this.durablePreparing = new Microsoft.Transactions.Wsat.StateMachines.DurablePreparing(state);
     this.durablePrepared = new Microsoft.Transactions.Wsat.StateMachines.DurablePrepared(state);
     this.durableCommitting = new Microsoft.Transactions.Wsat.StateMachines.DurableCommitting(state);
     this.durableRecovering = new Microsoft.Transactions.Wsat.StateMachines.DurableRecovering(state);
     this.durableRejoined = new Microsoft.Transactions.Wsat.StateMachines.DurableRejoined(state);
     this.durableRecoveryAwaitingCommit = new Microsoft.Transactions.Wsat.StateMachines.DurableRecoveryAwaitingCommit(state);
     this.durableRecoveryReceivedCommit = new Microsoft.Transactions.Wsat.StateMachines.DurableRecoveryReceivedCommit(state);
     this.durableRecoveryAwaitingRollback = new Microsoft.Transactions.Wsat.StateMachines.DurableRecoveryAwaitingRollback(state);
     this.durableRecoveryReceivedRollback = new Microsoft.Transactions.Wsat.StateMachines.DurableRecoveryReceivedRollback(state);
     this.durableFailedRecovery = new Microsoft.Transactions.Wsat.StateMachines.DurableFailedRecovery(state);
     this.durableCommitted = new Microsoft.Transactions.Wsat.StateMachines.DurableCommitted(state);
     this.durableAborted = new Microsoft.Transactions.Wsat.StateMachines.DurableAborted(state);
     this.durableInDoubt = new Microsoft.Transactions.Wsat.StateMachines.DurableInDoubt(state);
     this.durableInitializationFailed = new Microsoft.Transactions.Wsat.StateMachines.DurableInitializationFailed(state);
     this.volatileRegistering = new Microsoft.Transactions.Wsat.StateMachines.VolatileRegistering(state);
     this.volatilePhaseZeroActive = new Microsoft.Transactions.Wsat.StateMachines.VolatilePhaseZeroActive(state);
     this.volatilePhaseZeroUnregistered = new Microsoft.Transactions.Wsat.StateMachines.VolatilePhaseZeroUnregistered(state);
     this.volatilePhaseOneUnregistered = new Microsoft.Transactions.Wsat.StateMachines.VolatilePhaseOneUnregistered(state);
     this.volatilePrePreparing = new Microsoft.Transactions.Wsat.StateMachines.VolatilePrePreparing(state);
     this.volatilePrePrepared = new Microsoft.Transactions.Wsat.StateMachines.VolatilePrePrepared(state);
     this.volatilePrepared = new Microsoft.Transactions.Wsat.StateMachines.VolatilePrepared(state);
     this.volatileCommitting = new Microsoft.Transactions.Wsat.StateMachines.VolatileCommitting(state);
     this.volatileAborting = new Microsoft.Transactions.Wsat.StateMachines.VolatileAborting(state);
     this.volatileCommitted = new Microsoft.Transactions.Wsat.StateMachines.VolatileCommitted(state);
     this.volatileAborted = new Microsoft.Transactions.Wsat.StateMachines.VolatileAborted(state);
     this.volatileInDoubt = new Microsoft.Transactions.Wsat.StateMachines.VolatileInDoubt(state);
     this.volatileInitializationFailed = new Microsoft.Transactions.Wsat.StateMachines.VolatileInitializationFailed(state);
     this.transactionContextInitializing = new Microsoft.Transactions.Wsat.StateMachines.TransactionContextInitializing(state);
     this.transactionContextInitializingCoordinator = new Microsoft.Transactions.Wsat.StateMachines.TransactionContextInitializingCoordinator(state);
     this.transactionContextActive = new Microsoft.Transactions.Wsat.StateMachines.TransactionContextActive(state);
     this.transactionContextFinished = new Microsoft.Transactions.Wsat.StateMachines.TransactionContextFinished(state);
 }