Exemplo n.º 1
0
        public virtual MigratingActivityInstance AddActivityInstance(IMigrationInstruction migrationInstruction,
                                                                     IActivityInstance activityInstance, ScopeImpl sourceScope, ScopeImpl targetScope,
                                                                     ExecutionEntity scopeExecution)
        {
            var migratingActivityInstance = new MigratingActivityInstance(activityInstance, migrationInstruction,
                                                                          sourceScope, targetScope, scopeExecution);

            migratingActivityInstances.Add(migratingActivityInstance);

            if (processInstanceId.Equals(activityInstance.Id))
            {
                rootInstance = migratingActivityInstance;
            }

            return(migratingActivityInstance);
        }
Exemplo n.º 2
0
 public MigratingExternalTaskInstance(ExternalTaskEntity externalTask,
                                      MigratingActivityInstance migratingActivityInstance)
 {
     this.ExternalTask = externalTask;
     this.MigratingActivityInstance = migratingActivityInstance;
 }
Exemplo n.º 3
0
 public MigratingProcessElementInstanceTopDownWalker(MigratingActivityInstance activityInstance)
     : base(new MigrationContext(activityInstance, new MigratingScopeInstanceBranch()))
 {
 }
Exemplo n.º 4
0
 public MigratingScopeActivityInstanceBehavior(MigratingActivityInstance outerInstance)
 {
     this._outerInstance = outerInstance;
 }
Exemplo n.º 5
0
 public HistoryEventCreatorAnonymousInnerClass2(MigratingActivityInstance outerInstance)
 {
     this._outerInstance = outerInstance;
 }
Exemplo n.º 6
0
 public HistoryEventCreatorAnonymousInnerClass(MigratingActivityInstance outerInstance,
                                               IDelegateExecution execution)
 {
     this._outerInstance = outerInstance;
     this._execution     = execution;
 }
Exemplo n.º 7
0
 public virtual void RemoveChild(MigratingActivityInstance activityInstance)
 {
     childActivityInstances.Remove(activityInstance);
 }
Exemplo n.º 8
0
 public virtual void AddChild(MigratingActivityInstance activityInstance)
 {
     childActivityInstances.Add(activityInstance);
 }
Exemplo n.º 9
0
 public MigratingUserTaskInstance(TaskEntity userTask, MigratingActivityInstance migratingActivityInstance)
 {
     this.UserTask = userTask;
     this.MigratingActivityInstance = migratingActivityInstance;
 }