Click or drag to resize
Akka.NETOptionT Structure
Allows tracking of whether a value has be initialized (even with the default value) for both reference and value types. Useful where distinguishing between null (or zero, or false) and uninitialized is significant.

Namespace:  Akka.Streams.Util
Assembly:  Akka.Streams (in Akka.Streams.dll) Version: 1.2.3.42 (1.2.3.42)
Syntax
public struct Option<T>

Type Parameters

T
TBD

The OptionT type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyHasValue
TBD
Public propertyValue
TBD
Top
Methods
  NameDescription
Public methodEquals(Object)
Indicates whether this instance and a specified object are equal.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(OptionT)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Returns the hash code for this instance.
(Overrides ValueTypeGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns the fully qualified type name of this instance.
(Overrides ValueTypeToString.)
Top
Operators
  NameDescription
Public operatorStatic member(T to OptionT)
Performs an implicit conversion from [!:T] to OptionT.
Top
Fields
  NameDescription
Public fieldStatic memberNone
TBD
Top
Extension Methods
See Also