public void ChainedMethod_Parameters() { var dog = new ASample(); Expression <Func <string> > temp = () => dog.DoSomething("argValue").Replace("a", "b"); string result = temp.Visit(); Assert.AreEqual("dog.DoSomething(String something).Replace(String oldValue, String newValue)", result); }
public void ChainedMethod_Parameters() { var dog = new ASample(); Expression<Func<string>> temp = () => dog.DoSomething("argValue").Replace("a", "b"); string result = temp.Visit(); Assert.AreEqual("dog.DoSomething(String something).Replace(String oldValue, String newValue)", result); }
public void Method_Parameters() { var dog = new ASample(); Expression <Func <string> > temp = () => dog.DoSomething("argumentValue"); string result = temp.Visit(); Assert.AreEqual("dog.DoSomething(String something)", result); }
public void Method_Parameters() { var dog = new ASample(); Expression<Func<string>> temp = () => dog.DoSomething("argumentValue"); string result = temp.Visit(); Assert.AreEqual("dog.DoSomething(String something)", result); }