System.SecurityUtils.MethodInfoInvoke C# (CSharp) Method

MethodInfoInvoke() static private method

static private MethodInfoInvoke ( MethodInfo method, object target, object args ) : object
method System.Reflection.MethodInfo
target object
args object
return object
        internal static object MethodInfoInvoke(MethodInfo method, object target, object[] args) {
            Type type = method.DeclaringType;
            return method.Invoke(target, args);
        }
    }