public TransferEncodingCollectionLexerFactory( [NotNull] IOptionalDelimitedListLexerFactory optionalDelimitedListLexerFactory, [NotNull] ILexerFactory <TransferCodingCollection> transferCodingCollectionLexerFactory) { if (optionalDelimitedListLexerFactory == null) { throw new ArgumentNullException(nameof(optionalDelimitedListLexerFactory)); } if (transferCodingCollectionLexerFactory == null) { throw new ArgumentNullException(nameof(transferCodingCollectionLexerFactory)); } OptionalDelimitedListLexerFactory = optionalDelimitedListLexerFactory; TransferCodingCollectionLexerFactory = transferCodingCollectionLexerFactory; }
public PartialUriLexerFactory( [NotNull] IOptionalDelimitedListLexerFactory optionalDelimitedListLexerFactory, [NotNull] ILexerFactory <RelativePart> relativePartLexerFactory, [NotNull] ILexerFactory <Query> queryLexerFactory) { if (optionalDelimitedListLexerFactory == null) { throw new ArgumentNullException(nameof(optionalDelimitedListLexerFactory)); } if (relativePartLexerFactory == null) { throw new ArgumentNullException(nameof(relativePartLexerFactory)); } if (queryLexerFactory == null) { throw new ArgumentNullException(nameof(queryLexerFactory)); } OptionalDelimitedListLexerFactory = optionalDelimitedListLexerFactory; RelativePartLexerFactory = relativePartLexerFactory; QueryLexerFactory = queryLexerFactory; }