Table of Contents

Operator implicit operator

Namespace
DisCatSharp.Entities
Assembly
DisCatSharp.dll

implicit operator Optional<T>(T)

public static implicit operator Optional<T>(T val)

Parameters

val T

Returns

Optional<T>

implicit operator Optional<T>(None)

Creates an empty optional.

public static implicit operator Optional<T>(None _)

Parameters

_ None

Returns

Optional<T>