Ejemplo n.º 1
0
        public virtual void AttachState(MigratingTransitionInstance owningActivityInstance)
        {
            throw new NotImplementedException();
            var representativeExecution = owningActivityInstance.ResolveRepresentativeExecution();

            //representativeExecution.addVariableInternal(variable);
        }
Ejemplo n.º 2
0
        public virtual void AttachState(MigratingTransitionInstance targetTransitionInstance)
        {
            AttachTo(targetTransitionInstance.ResolveRepresentativeExecution());

            foreach (var dependentInstance in MigratingDependentInstances)
            {
                dependentInstance.AttachState(targetTransitionInstance);
            }
        }
Ejemplo n.º 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);
        }
Ejemplo n.º 4
0
 public virtual void AttachState(MigratingTransitionInstance targetTransitionInstance)
 {
     throw MigrationLogger.CannotAttachToTransitionInstance(this);
 }
Ejemplo n.º 5
0
 public virtual void RemoveChild(MigratingTransitionInstance transitionInstance)
 {
     childTransitionInstances.Remove(transitionInstance);
 }
Ejemplo n.º 6
0
 public virtual void AddChild(MigratingTransitionInstance transitionInstance)
 {
     childTransitionInstances.Add(transitionInstance);
 }
Ejemplo n.º 7
0
 public override void AttachState(MigratingTransitionInstance targetTransitionInstance)
 {
     //throw MIGRATION_LOGGER.cannotAttachToTransitionInstance(this);
 }
Ejemplo n.º 8
0
 public virtual void AttachState(MigratingTransitionInstance targetTransitionInstance)
 {
     AttachTo(targetTransitionInstance.ResolveRepresentativeExecution());
 }
 public abstract void AttachState(MigratingTransitionInstance targetTransitionInstance);