我发现自己向构造函数添加了很多依赖项,如下所示:publicclassSomeClass(){privateISomeService_service;privateIAnotherService_anotherService;publicSomeClass(ISomeServiceservice,IAnotherServiceanotherService){_service=service;_anotherService=anotherService;}}它们写起来很乏味,我一直在visualstudio中寻找代码片段来自动将一个添加到构造函数中,但没有找到。我想要的是:在向构造函数添