GenericNullable<T>

Overview

Location

Properties


HasValue

 

property HasValue: Boolean read;

 

Boolean HasValue { get; }

 

var HasValue: Boolean { get{} }

 

ReadOnly Property HasValue() As Boolean

Value

 

property Value: T read;

 

T Value { get; }

 

var Value: T { get{} }

 

ReadOnly Property Value() As T

Instance Methods


constructor

 

constructor(aValue: T)

 

GenericNullable<T>(T aValue)

 

init(_ aValue: T)

 

Sub New(aValue As T)

Parameters:

  • aValue:

GetValueOrDefault

 

method GetValueOrDefault: T

 

T GetValueOrDefault()

 

func GetValueOrDefault() -> T

 

Function GetValueOrDefault() As T

GetValueOrDefault (T): T

 

method GetValueOrDefault(aDefault: T): T

 

T GetValueOrDefault(T aDefault)

 

func GetValueOrDefault(_ aDefault: T) -> T

 

Function GetValueOrDefault(aDefault As T) As T

Parameters:

  • aDefault: