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