2011-02-14 75 views
0

难道我说得有没有智能感知在Visual Studio C#4命名参数2010命名参数和智能

例如,如果我有以下方法签名:

public static List<Person> GetPerson(string personId = null, string postCode = null, string lastName = null) 

当我在方法调用中输入参数名称时,我会想我会得到Intellisense。

List<Person> people = GetPersons(personId : "abc", [Intellisense appear as I type p..] 

或者这是不可能的,因为如果您按位置指定参数,Intellisense会妨碍您的工作?

+1

我得到了那些Intellisense。 – Gabe 2011-02-14 16:37:19

+1

他们为我出现。 – asawyer 2011-02-14 16:38:27

+0

他们为我显示...但我使用ReSharper。 – StriplingWarrior 2011-02-14 16:45:34

回答

4

不,你是不正确的....我不知道你说什么,但他们确实显示了我。

enter image description here