TryGetValue

TryGetValue<T>(IValueGetter, out T)

public static bool TryGetValue<T>(this IValueGetter valueGetter, out T value) ;

Description

Get the value.

Type Parameters

Type Parameter Name Description Type Constraints
T value type

Parameters

Parameter Name Description
valueGetter Instance to get value
value Obtained value

Returns

Returns true if the value could be obtained. Otherwise returns false.

Remarks

Implicit type conversions and downcasts are performed as necessary.