Esempio n. 1
0
        protected override bool Apply(object x)
        {
            var nullPredicate  = new TextNull(false);
            var emptyPredicate = new TextEmpty(false);

            return(nullPredicate.Execute(x) || emptyPredicate.Execute(x));
        }
Esempio n. 2
0
        public bool Apply(object x)
        {
            var nullPredicate  = new TextNull();
            var emptyPredicate = new TextEmpty();

            return(nullPredicate.Apply(x) || emptyPredicate.Apply(x));
        }