我有一个非嵌套类WillBeNestedClass和另一个类NestBox。
现在我想将类作为嵌套类移动WillBeNestedClass到类中。NestBox所以WillBeNestedClass会嵌套在 class 中NestBox。
VS 或 ReSharper 中是否有重构可以进行移动并自动更新对嵌套类的所有引用(从WillBeNestedClassto NestBox.WillBeNestedClass)?
我有一个非嵌套类WillBeNestedClass和另一个类NestBox。
现在我想将类作为嵌套类移动WillBeNestedClass到类中。NestBox所以WillBeNestedClass会嵌套在 class 中NestBox。
VS 或 ReSharper 中是否有重构可以进行移动并自动更新对嵌套类的所有引用(从WillBeNestedClassto NestBox.WillBeNestedClass)?