Click or drag to resize

UtilsAssignDefaultWhenNullT Method (NullableT, T)

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
This will be replaced with null-coalescing assignment in C# 8.0

Namespace:  Telogis.GeoBase.GeoStream.Server.NWF
Assembly:  geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax
public static T? AssignDefaultWhenNull<T>(
	T? data,
	T defaultValue
)
where T : struct, new()

Parameters

data
Type: SystemNullableT
defaultValue
Type: T

Type Parameters

T

Return Value

Type: NullableT
See Also