Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ NullableField< TElem >()

static ? TElem System.Data.DataRowExtensions.UnboxT< T >.NullableField< TElem > ( object value)
inlinestaticprivate
Type Constraints
TElem :struct 

Definition at line 42 of file DataRowExtensions.cs.

42 : struct
43 {
44 if (value != DBNull.Value)
45 {
46 return (TElem)value;
47 }
48 return null;
49 }

References System.DBNull.Value, and System.value.