In This Article

ISimpleName Interface

Provides the base requirements of a simple name with optional type arguments, which is a component of an IQualifiedName.

public interface ISimpleName

Properties

HasTypeArguments

Indicates whether the identifier has at least one type argument.

bool HasTypeArguments { get; }

Property Value

bool

Text

The text value of the identifier.

string? Text { get; }

Property Value

string

TypeArguments

The collection of optional generic type arguments for the identifier.

IList<IQualifiedName> TypeArguments { get; }

Property Value

IList<IQualifiedName>

Methods

Clone()

Returns a deep clone of the object.

ISimpleName Clone()

Returns

ISimpleName:

The object that was created.

Extension Methods