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);
            }
        }
        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);
 }
 public virtual void RemoveChild(MigratingTransitionInstance transitionInstance)
 {
     childTransitionInstances.Remove(transitionInstance);
 }
 public virtual void AddChild(MigratingTransitionInstance transitionInstance)
 {
     childTransitionInstances.Add(transitionInstance);
 }
 public override void AttachState(MigratingTransitionInstance targetTransitionInstance)
 {
     //throw MIGRATION_LOGGER.cannotAttachToTransitionInstance(this);
 }
示例#8
0
 public virtual void AttachState(MigratingTransitionInstance targetTransitionInstance)
 {
     AttachTo(targetTransitionInstance.ResolveRepresentativeExecution());
 }
 public abstract void AttachState(MigratingTransitionInstance targetTransitionInstance);