Optional<T>.

GetValueOrDefault() Method

Summary

Gets the value if present, otherwise the default value.
Namespace
Avalonia.Data
Containing Type
Optional<T>

Syntax

public T GetValueOrDefault()

Return Value

Type Description
T The value.