Click or drag to resize
OptionalValueExtensionsAsNullableT Method
Extension method that converts optional value containing a value type to a C# friendly `Nullable<T>` or `T?` type.

Namespace:  Deedle
Assembly:  Deedle (in Deedle.dll) Version: 1.2
Syntax
C#
public static Nullable<T> AsNullable<T>(
	this OptionalValue<T> opt
)
where T : struct, new()

Parameters

opt
Type: DeedleOptionalValueT

[Missing <param name="opt"/> documentation for "M:Deedle.OptionalValueExtensions.AsNullable``1(Deedle.OptionalValue{``0})"]

Type Parameters

T

Return Value

Type: NullableT

[Missing <returns> documentation for "M:Deedle.OptionalValueExtensions.AsNullable``1(Deedle.OptionalValue{``0})"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type OptionalValueT. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also