NameQualifier Enum

Namespace
Kampute.DocToolkit.Languages
Assembly
  • Kampute.DocToolkit.dll

Definition

Defines the level of qualification for name of a member.
public enum NameQualifier
Inheritance

Fields

NameValueDescription
None0No qualification is applied to the member's name.
DeclaringType1Qualifies the member's name with the type that declares it.
Full2Qualifies the member's name with the namespace that contains it and the type that declares it.

Remarks

The NameQualifier enum provides control over how member names are displayed in documentation. This affects code references, signatures, and links throughout the documentation system.

Different qualification levels are useful in different contexts:
  • NoneUsed when the member's context is already clear, such as in class documentation
  • DeclaringTypeDefault for most cases, provides context without excessive verbosity
  • FullUsed for API references or when members from different namespaces need to be distinguished
By controlling name qualification, documentation generators can balance between readability and precision in member references based on the context in which they appear.