コード例 #1
0
        public virtual void AttachState(MigratingTransitionInstance owningActivityInstance)
        {
            throw new NotImplementedException();
            var representativeExecution = owningActivityInstance.ResolveRepresentativeExecution();

            //representativeExecution.addVariableInternal(variable);
        }
コード例 #2
0
        public virtual void AttachState(MigratingTransitionInstance targetTransitionInstance)
        {
            AttachTo(targetTransitionInstance.ResolveRepresentativeExecution());

            foreach (var dependentInstance in MigratingDependentInstances)
            {
                dependentInstance.AttachState(targetTransitionInstance);
            }
        }
コード例 #3
0
        public virtual MigratingTransitionInstance AddTransitionInstance(IMigrationInstruction migrationInstruction,
                                                                         ITransitionInstance transitionInstance, ScopeImpl sourceScope, ScopeImpl targetScope,
                                                                         ExecutionEntity asyncExecution)
        {
            var migratingTransitionInstance = new MigratingTransitionInstance(transitionInstance, migrationInstruction,
                                                                              sourceScope, targetScope, asyncExecution);

            migratingTransitionInstances.Add(migratingTransitionInstance);

            return(migratingTransitionInstance);
        }
コード例 #4
0
 public virtual void AttachState(MigratingTransitionInstance targetTransitionInstance)
 {
     throw MigrationLogger.CannotAttachToTransitionInstance(this);
 }
コード例 #5
0
 public virtual void RemoveChild(MigratingTransitionInstance transitionInstance)
 {
     childTransitionInstances.Remove(transitionInstance);
 }
コード例 #6
0
 public virtual void AddChild(MigratingTransitionInstance transitionInstance)
 {
     childTransitionInstances.Add(transitionInstance);
 }
コード例 #7
0
 public override void AttachState(MigratingTransitionInstance targetTransitionInstance)
 {
     //throw MIGRATION_LOGGER.cannotAttachToTransitionInstance(this);
 }
コード例 #8
0
 public virtual void AttachState(MigratingTransitionInstance targetTransitionInstance)
 {
     AttachTo(targetTransitionInstance.ResolveRepresentativeExecution());
 }
コード例 #9
0
 public abstract void AttachState(MigratingTransitionInstance targetTransitionInstance);