XML 주석의 FilterPriority 태그는 무엇을합니까?
-
07-07-2019 - |
문제
.NET Framework BCL의 클래스에 대한 많은 XML 댓글에서 이것을 보았지만 그것이 무엇을하는지 설명하는 문서를 찾을 수 없었습니다.
예를 들어, System.Object를 보면 다음 주석이 표시됩니다.
namespace System
{
/// <summary>Supports all classes in the .NET Framework class hierarchy
/// and provides low-level services to derived classes. This is the
/// ultimate base class of all classes in the .NET Framework; it is the
/// root of the type hierarchy.</summary>
/// <filterpriority>1</filterpriority>
[System.Runtime.InteropServices.ClassInterfaceAttribute(2)]
public class Object
{
/// <summary>Determines whether the specified
/// <see cref="T:System.Object" />
/// instances are considered equal.</summary>
/// <returns>true if objA is the same instance as objB or
/// if both are null
/// references or if objA.Equals(objB) returns true;
/// otherwise, false.</returns>
/// <param name="objB">The second <see cref="T:System.Object" />
/// to compare. </param>
/// <param name="objA">The first <see cref="T:System.Object" />
/// to compare. </param>
/// <filterpriority>2</filterpriority>
public static bool Equals(object objA, object objB);
}
}
해결책
단지 추측 : Intellisense의 All vs Common Tabs?
다른 팁
EditorBrowsableAttribute로 멤버를 장식하는 것과 동일합니다. 나는 값 0,1과 2가 항상, 진보 된적이고 결코 상응하지 않는다고 추측 할 것입니다.
제휴하지 않습니다 StackOverflow