Esempio n. 1
0
        internal override Restriction BuildRestriction()
        {
            Restriction restriction = Condition.CreateORStringContentRestriction(base.Text, PropTag.MessageClass, ContentFlags.IgnoreCase | ContentFlags.Loose);

            if (Restriction.ResType.Content == restriction.Type)
            {
                return(Restriction.Or(new Restriction[]
                {
                    restriction
                }));
            }
            return(restriction);
        }
 internal override Restriction BuildRestriction()
 {
     return(Condition.CreateORStringContentRestriction(base.Text, PropTag.Subject, ContentFlags.SubString | ContentFlags.IgnoreCase));
 }
 internal override Restriction BuildRestriction()
 {
     return(Condition.CreateORStringContentRestriction(base.Text, PropTag.TransportMessageHeaders, ContentFlags.SubString | ContentFlags.IgnoreCase));
 }