Table of Contents

Class NullableConverter

Namespace
SunamoConverters.Converts
Assembly
SunamoConverters.dll

Provides conversion methods for nullable types to non-nullable types.

public static class NullableConverter
Inheritance
NullableConverter
Inherited Members

Methods

Bool(bool?)

Converts a nullable boolean to a non-nullable boolean. Returns false if the nullable boolean is null.

public static bool Bool(bool? nullable)

Parameters

nullable bool?

The nullable boolean value.

Returns

bool

The boolean value, or false if null.