Class SerializableNullableExtensions
Inheritance
SerializableNullableExtensions
Assembly: Glitch9.dll
Syntax
public static class SerializableNullableExtensions
Methods
|
Edit this page
View Source
GetValueOrDefault<T>(SerializableNullable<T>, T)
Declaration
public static T GetValueOrDefault<T>(this SerializableNullable<T> nullable, T defaultValue) where T : struct
Parameters
Returns
Type Parameters
|
Edit this page
View Source
GetValueOrNull<T>(SerializableNullable<T>)
Declaration
public static T? GetValueOrNull<T>(this SerializableNullable<T> nullable) where T : struct
Parameters
Returns
Type Parameters
|
Edit this page
View Source
HasValue<T>(SerializableNullable<T>)
Declaration
public static bool HasValue<T>(this SerializableNullable<T> nullable) where T : struct
Parameters
Returns
Type Parameters