private void InitializeInterceptorBeingBuilt(LambdaExpression expression) { var callRule = new ExpressionCallRule(expression); Fake.AddRule(callRule); this.RuleBeingBuilt = callRule; }
private void InitializeRuleBeingBuilt(LambdaExpression expression) { var callRule = this.expressionRuleFactory.Invoke(expression); Fake.AddRule(callRule); this.RuleBeingBuilt = callRule; }