We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
From microsoft/vscode#19905
Add a refactoring to encapsulate a field in a class, similar to https://msdn.microsoft.com/en-us/library/a5adyhe9.aspx:
class Foo { bar: string; }
Encapsulating the bar field would change the class to:
bar
class Foo { private _bar: string; public get bar() { return _bar; } public set bar(value: string) { _bar = value; } }
The text was updated successfully, but these errors were encountered:
Duplicate of #12417
Sorry, something went wrong.
Thanks @mhegazy
Closing as duplicate
No branches or pull requests
From microsoft/vscode#19905
Add a refactoring to encapsulate a field in a class, similar to https://msdn.microsoft.com/en-us/library/a5adyhe9.aspx:
Encapsulating the
bar
field would change the class to:The text was updated successfully, but these errors were encountered: