Skip to content

Conversation

vb2ae
Copy link
Member

@vb2ae vb2ae commented Aug 9, 2025

This pull request refactors the ViewModelBinder class in src/Caliburn.Micro.Platform/ViewModelBinder.cs to improve code readability and maintainability. The main changes involve consistently applying C# brace style and formatting to all methods and lambda expressions in the class, making the codebase easier to read and reducing the likelihood of errors related to inconsistent formatting.

Code style and readability improvements:

  • Reformatted all method and lambda bodies in ViewModelBinder to use consistent brace style and indentation, including ShouldApplyConventions, BindProperties, BindActions, IsAsyncMethod, and the Bind action. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]
  • Removed check if in expression blend design mode

No functional changes were introduced; all logic remains the same, but the code is now more consistent and easier to follow.

@vb2ae vb2ae marked this pull request as draft August 19, 2025 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant