Table of Contents

Class Option

Namespace
Apache.Ignite
Assembly
Apache.Ignite.dll

Static helpers for Option<T>.

public static class Option
Inheritance
Option
Inherited Members

Methods

None<T>()

Returns an option without a value.

public static Option<T> None<T>()

Returns

Option<T>

Option of T.

Type Parameters

T

value type.

Some<T>(T)

Returns an option of the specified value.

public static Option<T> Some<T>(T val)

Parameters

val T

Value.

Returns

Option<T>

Option of T.

Type Parameters

T

value type.