public void OnUpdate(ICoreVariableInstance variableInstance, AbstractVariableScope sourceScope)
 {
     if (HistoryLevel.IsHistoryEventProduced(HistoryEventTypes.VariableInstanceUpdate, variableInstance))
     {
         HistoryEventProcessor.ProcessHistoryEvents(new HistoryEventCreatorAnonymousInnerClassHelper3(this, variableInstance, sourceScope));
     }
 }
 protected internal override HistoryEvent CreateHistoryEvent(IDelegateCaseExecution caseExecution)
 {
     if (HistoryLevel.IsHistoryEventProduced(HistoryEventTypes.CaseActivityInstanceEnd, caseExecution))
     {
         return(EventProducer.CreateCaseActivityInstanceEndEvt(caseExecution));
     }
     return(null);
 }
 protected internal override HistoryEvent CreateHistoryEvent(IDelegateExecution execution)
 {
     if (HistoryLevel.IsHistoryEventProduced(HistoryEventTypes.ProcessInstanceUpdate, execution))
     {
         return(EventProducer.CreateProcessInstanceUpdateEvt(execution));
     }
     return(null);
 }
 protected internal override HistoryEvent CreateHistoryEvent(IDelegateTask task, ExecutionEntity execution)
 {
     if (HistoryLevel.IsHistoryEventProduced(HistoryEventTypes.ActivityInstanceUpdate, execution))
     {
         return(EventProducer.CreateActivityInstanceUpdateEvt(execution, task));
     }
     return(null);
 }
 protected internal override HistoryEvent CreateHistoryEvent(IDelegateExecution execution)
 {
     if (HistoryLevel.IsHistoryEventProduced(HistoryEventTypes.ActivityInstanceEnd, execution))
     {
         // Todo: IHistoryEventProducer 实现
         if (EventProducer != null)
         {
             return(EventProducer.CreateActivityInstanceEndEvt(execution));
         }
     }
     return(null);
 }