static bool IsCommand(MethodInfo method) => method.IsPublic && !method.IsStatic && method.DeclaringType != typeof(object); }