Object custom methods
More...
◆ IsDefault< T >()
static bool Sphyrnidae.Common.Extensions.ObjectExtensions.IsDefault< T > |
( |
this T |
value | ) |
|
|
static |
Checks if an object is a default type
- Template Parameters
-
T | The type of item you are checking |
- Parameters
-
value | The item being checked |
IsDefault is always the opposite of IsPopulated
- Returns
- True if it is the default value, false otherwise
◆ IsPopulated< T >()
static bool Sphyrnidae.Common.Extensions.ObjectExtensions.IsPopulated< T > |
( |
this T |
value | ) |
|
|
static |
Checks if an object is populated with a non-default value
- Parameters
-
value | The item being checked |
IsDefault is always the opposite of IsPopulated
- Returns
- False if it is the default value, true otherwise
The documentation for this class was generated from the following file:
- C:/Users/dougb/Desktop/Sphyrnidae/New/Common/Common/Extensions/ObjectExtensions.cs