Prevent visual studio from limiting the setter method to internal

前端 未结 3 830
情话喂你
情话喂你 2020-12-31 01:44

Well, I use visual studio 2015 CE, update 2. One productivity hack I usually do is that I create empty model classes like:

public class PersonModel
{
}
         


        
3条回答
  •  情歌与酒
    2020-12-31 02:41

    Still the same in Visual Studio 2017 and I use the same "productivity hack".

    I recently got Resharper and it does use the public setter as we would expect it.

提交回复
热议问题