Thanks, I like the idea of creating an expression lamba normally and
then inspecting the expression tree that gets created. I'll give it a
On Sep 22, 3:46 pm, Daniel Cazzulino <dan...@cazzulino.com> wrote:
> that's wrong. you're not returning a label.
> best way to go about this is to create the expression lambda with C# (v =>
> On Thu, Sep 22, 2011 at 05:59, benny <ceddlybu...@googlemail.com> wrote:
> > private void button1_Click(object sender, EventArgs e)
> > // Create input parameter for lambda
> > // create return statement for lambda
> > // convert expression to lambda (should now be the equivalent
> > var mockFoo = new Mock<IFoo>();
> > mockFoo.SetupProperty(func); // exception thrown by moq here,
> > --
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.