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