Ejemplo n.º 1
0
 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;
 }
Ejemplo n.º 2
0
 protected BinaryFilterBase(ContentFilterType type, IContentFilter left, IContentFilter right)
 {
     Left  = left ?? throw new ArgumentNullException(nameof(left));
     Right = right ?? throw new ArgumentNullException(nameof(right));
     Type  = type;
 }
Ejemplo n.º 3
0
 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();
 }
Ejemplo n.º 4
0
 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)
 {
 }