Performs the specified action within the policy and returns the result

Declaration Syntax
public TResult Get<TResult>(
Func<TResult> action
)
Public Function Get(Of TResult) ( _
action As Func(Of TResult) _
) As TResult
public:
generic<typename TResult>
TResult Get(
Func<TResult>^ action
)

Generic Template Parameters
- TResult
- The type of the result.

Parameters
- action (Func<(Of <(TResult>)>))
- The action to perform.

Return Value
result returned by action
Assembly:
Lokad.Sdk (Module: Lokad.Sdk) Version: 2.4.669.0 (2.4.669.0)