Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Init only properties (C# 9) #2

Open
JamesYFC opened this issue May 28, 2021 · 0 comments
Open

Init only properties (C# 9) #2

JamesYFC opened this issue May 28, 2021 · 0 comments
Labels
blocked enhancement New feature or request

Comments

@JamesYFC
Copy link
Owner

JamesYFC commented May 28, 2021

If I'm reading the microsoft docs correctly...

This will make the fsm a little safer by not allowing modifications to be made after initialization, as public setters are required to use object initialization syntax

@JamesYFC JamesYFC added enhancement New feature or request blocked labels May 28, 2021
@JamesYFC JamesYFC changed the title Init only properties Init only properties (C# 9) Jun 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant