public static object Invoke(this INSObjectProtocol obj, string method) { //return XamarinMethodExtensions.Invoke(obj,method, new object[]{}); return(obj.GetType().GetMethod(method).Invoke(obj, new object[] {})); }
public static object Invoke(this INSObjectProtocol obj, string method, params object[] list) { return(obj.GetType().GetMethod(method).Invoke(obj, list)); }