Refactor TryMatchMethod for clarity and efficiency Refactored the `TryMatchMethod` function to improve readability and performance by introducing a fast path for parameterless methods and delegating complex logic to a new helper method `TryExtractArgsFromParts`. The new helper method handles command part matching, placeholder resolution, and type conversion. Updated comments for better maintainability.