Пример #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);
        }
Пример #2
0
 public MigratingExternalTaskInstance(ExternalTaskEntity externalTask,
                                      MigratingActivityInstance migratingActivityInstance)
 {
     this.ExternalTask = externalTask;
     this.MigratingActivityInstance = migratingActivityInstance;
 }
Пример #3
0
 public MigratingProcessElementInstanceTopDownWalker(MigratingActivityInstance activityInstance)
     : base(new MigrationContext(activityInstance, new MigratingScopeInstanceBranch()))
 {
 }
Пример #4
0
 public MigratingScopeActivityInstanceBehavior(MigratingActivityInstance outerInstance)
 {
     this._outerInstance = outerInstance;
 }
Пример #5
0
 public HistoryEventCreatorAnonymousInnerClass2(MigratingActivityInstance outerInstance)
 {
     this._outerInstance = outerInstance;
 }
Пример #6
0
 public HistoryEventCreatorAnonymousInnerClass(MigratingActivityInstance outerInstance,
                                               IDelegateExecution execution)
 {
     this._outerInstance = outerInstance;
     this._execution     = execution;
 }
Пример #7
0
 public virtual void RemoveChild(MigratingActivityInstance activityInstance)
 {
     childActivityInstances.Remove(activityInstance);
 }
Пример #8
0
 public virtual void AddChild(MigratingActivityInstance activityInstance)
 {
     childActivityInstances.Add(activityInstance);
 }
Пример #9
0
 public MigratingUserTaskInstance(TaskEntity userTask, MigratingActivityInstance migratingActivityInstance)
 {
     this.UserTask = userTask;
     this.MigratingActivityInstance = migratingActivityInstance;
 }