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

Camel casing for private field names #27

Closed
neurotwit opened this issue Jul 23, 2011 · 1 comment
Closed

Camel casing for private field names #27

neurotwit opened this issue Jul 23, 2011 · 1 comment
Labels

Comments

@neurotwit
Copy link

I think the default convention for private field names should be "_field" instead of "_Field". I've never seen a C# convention that uses Pascal case for private/protected fields.
http://10rem.net/articles/net-naming-conventions-and-programming-standards---best-practices

@anaisbetts
Copy link
Member

You can actually customize the convention via RxApp.GetFieldNameForPropertyNameFunc:

https://github.com/xpaulbettsx/ReactiveUI/blob/master/ReactiveUI/RxApp.cs#L170

@lock lock bot added the outdated label Jun 26, 2019
@lock lock bot locked and limited conversation to collaborators Jun 26, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants