public IfFilterExpression IfClass(Expression <Func <TypeInfo, bool> > whenClass) { var expression = new IfFilterExpression(whenClass, _faker); _expressions.Push(expression); return(expression); }
public IfFilterExpression IfProperty(Expression <Func <PropertyInfo, bool> > whenProperty) { var expression = new IfFilterExpression(whenProperty, _faker); _expressions.Push(expression); return(expression); }