Exemple #1
0
 public ModuleValidator(IModuleAccessor <TModule, TProject> accessor, EntitiesGeneratorErrorDescriber errorDescriber)
 {
     Accessor       = accessor ?? throw new System.ArgumentNullException(nameof(accessor));
     ErrorDescriber = errorDescriber ?? throw new System.ArgumentNullException(nameof(errorDescriber));
 }
Exemple #2
0
 public ItemValidator(IItemAccessor <TItem, TModule> accessor, EntitiesGeneratorErrorDescriber errorDescriber)
 {
     Accessor       = accessor ?? throw new System.ArgumentNullException(nameof(accessor));
     ErrorDescriber = errorDescriber ?? throw new System.ArgumentNullException(nameof(errorDescriber));
 }