Allow verifying property initializers #1527
arcanix-iot
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is it possible to verify property initializers?
Use case: Blazor uses Reflection to set parameters, it doesn't care if the property has a setter or initializer (using the initializer might be desired in some cases)
Example of using initialziers with reflection:
Workaround: https://stackoverflow.com/questions/79276166/moq-verify-property-init/79297496#79297496
Beta Was this translation helpful? Give feedback.
All reactions