[英]Converting Regular Properties to Auto-Implemented Properties
I'm upgrading an old C# code-base and would like to convert the regular properties to auto-implemented properties. 我正在升级旧的C#代码库,并希望将常规属性转换为自动实现的属性。 Can this be done from Visual Studio? 可以从Visual Studio完成吗?
It is possible using Resharper . 可以使用Resharper 。 You could download a fully functioning trial version for 30 days . 您可以下载功能齐全的试用版30天 。
我不认为在VS中有一个内置方法可以做到这一点,但你可以使用像ReSharper这样的工具来进行这种重构。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.