TryGet
method in Coherence.Test.UtilityExtensions
Methods
public static TRet TryGet<TObj, TRet>(this TObj component, Func<TObj, TRet> getter) where TObj : class
Parameters
Type | Name | Description |
---|---|---|
TObj | component | |
Func<TObj, TRet> | getter |
Returns
Type | Description |
---|---|
TRet |
Type Parameters
Name | Description |
---|---|
TObj | |
TRet |