示例#1
0
        public IfFilterExpression IfClass(Expression <Func <TypeInfo, bool> > whenClass)
        {
            var expression = new IfFilterExpression(whenClass, _faker);

            _expressions.Push(expression);

            return(expression);
        }
示例#2
0
        public IfFilterExpression IfProperty(Expression <Func <PropertyInfo, bool> > whenProperty)
        {
            var expression = new IfFilterExpression(whenProperty, _faker);

            _expressions.Push(expression);

            return(expression);
        }