public DataFilter(string fromAddress, string toAddress, byte[] content, ContentFilterType contentFilterType, DataFilterType dataFilterType) { this.fromAddress = fromAddress; this.toAddress = toAddress; this.content = content; this.contentFilterType = contentFilterType; this.dataFilterType = dataFilterType; }
protected BinaryFilterBase(ContentFilterType type, IContentFilter left, IContentFilter right) { Left = left ?? throw new ArgumentNullException(nameof(left)); Right = right ?? throw new ArgumentNullException(nameof(right)); Type = type; }
public RecordFilter(string fromAddress, string toAddress, string contentString, ContentFilterType contentFilterType, DataFilterType filterType, StringType stringType, bool split, string splitSymbol, int splitLength) { base.fromAddress = fromAddress; base.toAddress = toAddress; base.content = null; base.contentFilterType = contentFilterType; base.dataFilterType = filterType; this.contentString = contentString; this.stringType = stringType; this.split = split; this.splitSymbol = splitSymbol; this.splitLength = splitLength; this.ResolveBytes(); }
public RecordFilter(string fromAddress, string toAddress, string contentString, ContentFilterType contentFilterType, DataFilterType filterType, StringType stringType) : this(fromAddress, toAddress, contentString, contentFilterType, filterType, stringType, false, string.Empty, 0) { }