Table of Contents

Class OptionalDataModel

Namespace
PolyType.Roslyn
Assembly
PolyType.Roslyn.dll

Represents an optional type such as Nullable<T>.

public sealed class OptionalDataModel : TypeDataModel
Inheritance
OptionalDataModel
Inherited Members

Properties

ElementType

Gets the underlying element type of the optional type.

public required ITypeSymbol ElementType { get; init; }

Property Value

ITypeSymbol

Kind

Determines the type of TypeDataModel being used.

public override TypeDataKind Kind { get; }

Property Value

TypeDataKind