public Invoke ( string name, Context context, object parameters ) : object | ||
name | string | |
context | Context | |
parameters | object | |
Результат | object |
public void RaiseWhenInvokeUndefinedMethod() { IObject obj = new BaseObject(type); obj.Invoke("getLength", null, null); }
public void InvokeGetName() { IObject obj = new BaseObject(type); obj.SetValue("name", "Adam"); Assert.AreEqual("Adam", obj.Invoke("getName", null, null)); }