Optional<T>.

Optional(T) Constructor

Summary

Initializes a new instance of the Optional<T> struct with value.
Namespace
Avalonia.Data
Containing Type
Optional<T>

Syntax

public Optional(T value)

Parameters

Name Type Description
value T The value.

Return Value

Type Description
void