Class NullableExtensions
Extension methods for
Inheritance
System.Object
NullableExtensions
Namespace: X10D.Core
Assembly: X10D.dll
Syntax
public static class NullableExtensions : object
Methods
| Improve this Doc View SourceTryGetValue<T>(Nullable<T>, out T)
Attempts to get the value of a
Declaration
public static bool TryGetValue<T>(this T? value, out T result)
where T : struct
Parameters
Type | Name | Description |
---|---|---|
System.Nullable<T> | value | The nullable value. |
T | result | When this method returns, contains the result of |
Returns
Type | Description |
---|---|
System.Boolean | true if the value's |
Type Parameters
Name | Description |
---|---|
T | The type of the value. |