Click or drag to resize
OptionalValueExtensions Class
Extension methods for working with optional values from C#. These make it easier to provide default values and convert optional values to `Nullable` (when the contained value is value type) [category:Primitive types and values]
Inheritance Hierarchy
SystemObject
  DeedleOptionalValueExtensions

Namespace:  Deedle
Assembly:  Deedle (in Deedle.dll) Version: 1.2
Syntax
C#
[SerializableAttribute]
public class OptionalValueExtensions

The OptionalValueExtensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAsNullableT
Extension method that converts optional value containing a value type to a C# friendly `Nullable<T>` or `T?` type.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
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
Serves as the default hash function.
(Inherited from Object.)
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 methodStatic memberOrDefaultT
Extension method that returns value in the specified optional value or the provided default value (the second argument).
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also