예제 #1
0
     : super()
 {
     this.categories                   = new StringList();
     this.containsBodyStrings          = new StringList();
     this.containsHeaderStrings        = new StringList();
     this.containsRecipientStrings     = new StringList();
     this.containsSenderStrings        = new StringList();
     this.containsSubjectOrBodyStrings = new StringList();
     this.containsSubjectStrings       = new StringList();
     this.fromAddresses                = new EmailAddressCollection(XmlElementNames.Address);
     this.fromConnectedAccounts        = new StringList();
     this.itemClasses                  = new StringList();
     this.messageClassifications       = new StringList();
     this.sentToAddresses              = new EmailAddressCollection(XmlElementNames.Address);
     this.withinDateRange              = new RulePredicateDateRange();
     this.withinSizeRange              = new RulePredicateSizeRange();
 }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RulePredicates"/> class.
 /// </summary>
 internal RulePredicates()
     : base()
 {
     this.categories = new StringList();
     this.containsBodyStrings = new StringList();
     this.containsHeaderStrings = new StringList();
     this.containsRecipientStrings = new StringList();
     this.containsSenderStrings = new StringList();
     this.containsSubjectOrBodyStrings = new StringList();
     this.containsSubjectStrings = new StringList();
     this.fromAddresses = new EmailAddressCollection(XmlElementNames.Address);
     this.fromConnectedAccounts = new StringList();
     this.itemClasses = new StringList();
     this.messageClassifications = new StringList();
     this.sentToAddresses = new EmailAddressCollection(XmlElementNames.Address);
     this.withinDateRange = new RulePredicateDateRange();
     this.withinSizeRange = new RulePredicateSizeRange();
 }