示例#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));
 }