FuncExtensionsTryTResult Method

Definition

Namespace: Jodosoft.Primitives
Assembly: Jodosoft.Primitives (in Jodosoft.Primitives.dll) Version: 2.0
public static bool Try<TResult>(
	this Func<TResult> function,
	out TResult result
)

Parameters

function  FuncTResult
 
result  TResult
 

Type Parameters

TResult

Return Value

Boolean

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type FuncTResult. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also