Esempio n. 1
0
 public ViewModelGenerator(ViewModelGeneratorOptions options)
 {
     _options = options;
     if (options.ValidationAttributeMap != null)
     foreach (var kvp in options.ValidationAttributeMap)
     {
         _validatorMap[kvp.Key] = kvp.Value;
     }
 }
Esempio n. 2
0
 public ServiceGenerator(ServiceGeneratorOptions options, ViewModelGeneratorOptions viewModelGeneratorOptions)
 {
     _options = options;
     _viewModelGeneratorOptions = viewModelGeneratorOptions;
 }