public TagTypeGeneratorFactory(GenerationContext context, IOperationMethodGenerator operationMethodGenerator, ISerializationNamespace serializationNamespace, IAuthenticationNamespace authenticationNamespace) { _context = context ?? throw new ArgumentNullException(nameof(context)); _operationMethodGenerator = operationMethodGenerator ?? throw new ArgumentNullException(nameof(operationMethodGenerator)); _serializationNamespace = serializationNamespace ?? throw new ArgumentNullException(nameof(serializationNamespace)); _authenticationNamespace = authenticationNamespace ?? throw new ArgumentNullException(nameof(authenticationNamespace)); }
public TagTypeGenerator(ILocatedOpenApiElement <OpenApiTag> tagElement, GenerationContext context, ISerializationNamespace serializationNamespace, IAuthenticationNamespace authenticationNamespace, IOperationMethodGenerator operationMethodGenerator) : base(tagElement, context) { _serializationNamespace = serializationNamespace ?? throw new ArgumentNullException(nameof(serializationNamespace)); _authenticationNamespace = authenticationNamespace ?? throw new ArgumentNullException(nameof(authenticationNamespace)); _operationMethodGenerator = operationMethodGenerator ?? throw new ArgumentNullException(nameof(operationMethodGenerator)); }