Option Constructor
Definition
- Namespace
- Tyne
- Assembly
- Tyne.Core.dll
Constructors
| Edit this page View SourceOption()
Creates an empty Option<T>.
Declaration
[Obsolete("Use Option.Some or Option.None to create options.", DiagnosticId = "TYNE001")]
public Option()
Remarks
You should not use this constructor, it is here to satisfy the compiler. Instead, prefer using Some<T>(T) or None<T>().