예제 #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));
 }
예제 #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));
 }