有一个问题我似乎找不到任何确凿的答案。我创建了一个带有几个调用的web方法。把summarys和描述放在它们上面,但是当我引用实时web方法并尝试调用其中一种方法时,我看不到描述或摘要。有没有办法让最终用户看到关于该方法的作用的说明(以描述的形式)?
例如:
/// <summary>
/// Something like v1 is required to be a whole number however v2, v3 etc can take -1 as a 'null' value.
/// </summary>
[WebMethod(Description="This is a description this will show a description of the method. However I cannot see it. Something like v1 is required to be a whole number however v2, v3 etc can take -1 as a 'null' value.")]
public string GetDetails(string password, int v1, int v2, int v3, int v4, int v5)
{
//return string based on database call etc;
}
当我调用此方法时,我无法在任何地方看到描述或摘要。为什么呢?