CxXmlDocReference
Description
- Derived from
-
CxNode abstract
ICxReference
ICxTypesContainer
ICxNameContainer
Represents the content of a cref
attribute and references a type or member:
Referring to a member or type: <... cref="name"> <... cref="name{...}"> Referring to a member in a generic type: <... cref="name-a{...}.name-b"> <... cref="name-a{...}.name-b{...}"> Referring to a method: <... cref="name(...)"> <... cref="name{...}(...)"> <... cref="name-a{...}.name-b(...)"> <... cref="name-a{...}.name-b{...}(...)">
where name
corresponds to ICxNameContainer.Name, {...}
to Arguments, (…)
to ICxTypesContainer.Types, name-a
to CxName.Parent of ICxNameContainer.Name and name-b
to CxName.Last of ICxNameContainer.Name.
ICxNameContainer.Name returns the name of the referenced type or member.
ICxTypesContainer.Types returns the list of method parameter types, which will be null
if this is not an explicit reference to a method.
- See also
Public / Attributes
Arguments
Returns the number of generic type parameters of the type and/or member referred to by ICxNameContainer.Name.
In source code, type parameters should have the same names as in the generic declaration and must appear in the same order.
IsMember
Is this an explicit reference to a member, using Arguments to split ICxNameContainer.Name into type and member name?
IsMethod
Is this an explicit reference to a method, using ICxTypesContainer.Types to refer to the method signature?