public static bool SendMessage(this Type type, string message, params object[] parameters) { var methodInfo = type.GetMethod(message, ReflectionLibrary.STATIC_MEMBER_BINDING_FLAGS, null, parameters.GetTypeArray(), null); if (methodInfo == null) return false; methodInfo.Invoke(null, parameters); return true; }