Bickle.Utility.ReflectionExtensions.InvokeWithReflection C# (CSharp) Method

InvokeWithReflection() public static method

public static InvokeWithReflection ( this target, string method ) : object
target this
method string
return object
        public static object InvokeWithReflection(this object target, string method, params object[] parameters)
        {
            return target.GetType().GetMethod(method).Invoke(target, parameters);
        }