System.MethodReflectionLibrary.Query C# (CSharp) Méthode

Query() public static méthode

public static Query ( Type type, string message, object &data ) : bool
type Type
message string
data object
Résultat bool
        public static bool Query(this Type type, string message, out object data, params object[] parameters)
        {
            var methodInfo = type.GetMethod(message, ReflectionLibrary.STATIC_MEMBER_BINDING_FLAGS, null,
                parameters.GetTypeArray(), null);

            var valid = methodInfo != null;

            data = valid ? methodInfo.Invoke(null, parameters) : null;

            return valid;
        }

Same methods

MethodReflectionLibrary::Query ( object o, string message, object &data ) : bool
MethodReflectionLibrary::Query ( Type type, string message, &data ) : bool
MethodReflectionLibrary::Query ( object o, string message, &data ) : bool