Beispiel #1
0
 public StringFilter ToUpper()
 {
     Equal        = Equal?.ToUpper();
     NotEqual     = NotEqual?.ToUpper();
     Contain      = Contain?.ToUpper();
     NotContain   = NotContain?.ToUpper();
     StartWith    = StartWith?.ToUpper();
     NotStartWith = NotStartWith?.ToUpper();
     EndWith      = EndWith?.ToUpper();
     NotEndWith   = NotEndWith?.ToUpper();
     return(this);
 }
        public void TestEndWithFilter()
        {
            IFilter filter = new EndWith(AttributeNames.CN, "p");

            Assert.AreEqual("(cn=*p)", filter.BuildFilter());
        }