当我使用 Resharper 的“生成代码”功能创建带有参数的构造函数时,我得到如下信息:
public class Example{
private int _x;
private int _y;
public Example(int _x, int _y){
this._x = _x;
this._y = _y;
}
}
我想改用这个命名约定:
public class Example{
private int _x;
private int _y;
public Example(int x, int y){
_x = x;
_y = y;
}
}
但我不知道是否可以编辑这个构造函数模板以及在哪里。