public ViaLexerFactory( [NotNull] IRequiredDelimitedListLexerFactory requiredDelimitedListLexerFactory, [NotNull] ILexerFactory <ReceivedProtocol> receivedProtocolLexerFactory, [NotNull] ILexerFactory <RequiredWhiteSpace> requiredWhiteSpaceLexerFactory, [NotNull] ILexerFactory <ReceivedBy> receivedByLexerFactory, [NotNull] ILexerFactory <Comment> commentLexerFactory) { if (requiredDelimitedListLexerFactory == null) { throw new ArgumentNullException(nameof(requiredDelimitedListLexerFactory)); } if (receivedProtocolLexerFactory == null) { throw new ArgumentNullException(nameof(receivedProtocolLexerFactory)); } if (requiredWhiteSpaceLexerFactory == null) { throw new ArgumentNullException(nameof(requiredWhiteSpaceLexerFactory)); } if (receivedByLexerFactory == null) { throw new ArgumentNullException(nameof(receivedByLexerFactory)); } if (commentLexerFactory == null) { throw new ArgumentNullException(nameof(commentLexerFactory)); } RequiredDelimitedListLexerFactory = requiredDelimitedListLexerFactory; ReceivedProtocolLexerFactory = receivedProtocolLexerFactory; RequiredWhiteSpaceLexerFactory = requiredWhiteSpaceLexerFactory; ReceivedByLexerFactory = receivedByLexerFactory; CommentLexerFactory = commentLexerFactory; }
public UpgradeLexerFactory( [NotNull] IRequiredDelimitedListLexerFactory requiredDelimitedListLexerFactory, [NotNull] ILexerFactory <Protocol> protocoLexerFactory) { if (requiredDelimitedListLexerFactory == null) { throw new ArgumentNullException(nameof(requiredDelimitedListLexerFactory)); } if (protocoLexerFactory == null) { throw new ArgumentNullException(nameof(protocoLexerFactory)); } RequiredDelimitedListLexerFactory = requiredDelimitedListLexerFactory; ProtocoLexerFactory = protocoLexerFactory; }
public ConnectionLexerFactory( [NotNull] IRequiredDelimitedListLexerFactory requiredDelimitedListLexerFactory, [NotNull] ILexerFactory <ConnectionOption> connectionOptionLexerFactory) { if (requiredDelimitedListLexerFactory == null) { throw new ArgumentNullException(nameof(requiredDelimitedListLexerFactory)); } if (connectionOptionLexerFactory == null) { throw new ArgumentNullException(nameof(connectionOptionLexerFactory)); } RequiredDelimitedListLexerFactory = requiredDelimitedListLexerFactory; ConnectionOptionLexerFactory = connectionOptionLexerFactory; }
public TrailerLexerFactory( [NotNull] IRequiredDelimitedListLexerFactory requiredDelimitedListLexerFactory, [NotNull] ILexerFactory <FieldName> fieldNameLexerFactory) { if (requiredDelimitedListLexerFactory == null) { throw new ArgumentNullException(nameof(requiredDelimitedListLexerFactory)); } if (fieldNameLexerFactory == null) { throw new ArgumentNullException(nameof(fieldNameLexerFactory)); } RequiredDelimitedListLexerFactory = requiredDelimitedListLexerFactory; FieldNameLexerFactory = fieldNameLexerFactory; }
public TransferEncodingLexerFactory( [NotNull] IRequiredDelimitedListLexerFactory requiredDelimitedListLexerFactory, [NotNull] ILexerFactory <TransferCoding> transferCodingLexerFactory) { if (requiredDelimitedListLexerFactory == null) { throw new ArgumentNullException(nameof(requiredDelimitedListLexerFactory)); } if (transferCodingLexerFactory == null) { throw new ArgumentNullException(nameof(transferCodingLexerFactory)); } RequiredDelimitedListLexerFactory = requiredDelimitedListLexerFactory; TransferCodingLexerFactory = transferCodingLexerFactory; }