[Test] public void QueryableMemberIsInvoked() { var queryable = new QueryableClass(); RuntimeMember method = RuntimeType.GetInstance(new TypedValue(queryable), new IdentifierName("dynamic"), 1); TypedValue result = method.Invoke(new object[] { "stuff" }); Assert.AreEqual("dynamicstuff", result.Value); }
[Test] public void QueryableMemberIsInvoked() { var queryable = new QueryableClass(); RuntimeMember method = GetMethodFromProcessor(queryable, "dynamic", 1); TypedValue result = method.Invoke(new object[] { "stuff" }); Assert.AreEqual("dynamicstuff", result.Value); }
[Test] public void QueryableMemberIsInvoked() { var queryable = new QueryableClass(); RuntimeMember method = GetMethodFromProcessor(queryable, "dynamic", 1); TypedValue result = method.Invoke(new object[] {"stuff"}); Assert.AreEqual("dynamicstuff", result.Value); }
public void QueryableMemberIsInvoked() { var queryable = new QueryableClass(); RuntimeMember method = RuntimeType.GetInstance(new TypedValue(queryable), new IdentifierName("dynamic"), 1); TypedValue result = method.Invoke(new object[] {"stuff"}); Assert.AreEqual("dynamicstuff", result.Value); }