RefDocGen
Home
API
FAQ
Templates
Configuration
Basic config
Custom static pages
Doc versioning
YAML config
C#
public interface
ITypeNameBaseData
assembly
RefDocGen
namespace
RefDocGen.CodeElements.Types.Abstract.TypeName
Represents name-related data of any type, including its name, namespace.
Doesn't include any type parameters nor member data (such as fields, methods, etc.)
Properties
public
string
FullName
{
get
;
}
#
Full name of the type, including its namespace.
Note: For generic types, it's doesn't include any info about the generic types.
Examples:
for
string
, it returns "
System.String
"
for
List<string>
, it returns "
System.Collections.Generic.List
"
public
bool
HasTypeParameters
{
get
;
}
#
Checks whether the type has any type parameters.
public
string
Id
{
get
;
}
#
Identifier of the type. Consists of the type name and generic parameters (if present).
The format is described here:
https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/language-specification/documentation-comments#d42-id-string-format
public
string
Namespace
{
get
;
}
#
Gets the namespace of the type.
Returns empty string, if the current instance represents a generic type parameter or if the type doesn't have any corresponding namespace.
public
string
ShortName
{
get
;
}
#
Short name of the type; doesn't include its namespace.
Note: For generic types, it's doesn't include any info about the generic types.
Examples:
for
string
, it returns "
String
"
for
List<string>
, it returns "
List
"
public
Type
TypeObject
{
get
;
}
#
Type
object representing the type.
Made with
RefDocGen