Beispiel #1
0
 CodeGeneratorScope()
 {
     if (WorkContext.WorkModel == WorkModel.Coder)
     {
         return;
     }
     _innerScope = WorkModelScope.CreateScope(WorkModel.Coder);
     GlobalTrigger.OnCodeGeneratorBegin();
 }
Beispiel #2
0
 CodeGeneratorScope(NotificationObject config)
 {
     _innerScope = WorkModelScope.CreateScope(WorkModel.Coder);
     if (config == null)
     {
         return;
     }
     GlobalTrigger.OnCodeGeneratorBegin(config);
 }