Cuemon .NET Framework
Wrap<TResult> Method

The type of the return value of output.
The value of the member to be routed as output through this Wrap{TResult} method.
Provides an easy and reflection less way to get a value from a property or field that is delegate compatible (such as Cuemon.Doer`1 and the likes thereof).
Syntax
'Declaration
 
Public Shared Function Wrap(Of TResult)( _
   ByVal output As TResult _
) As TResult
public static TResult Wrap<TResult>( 
   TResult output
)

Parameters

output
The value of the member to be routed as output through this Wrap{TResult} method.

Type Parameters

TResult
The type of the return value of output.

Return Value

The value from output.
Requirements

Target Platforms: Windows 8, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DelegateUtility Class
DelegateUtility Members

 

 


| Cuemon is licensed under a The MIT License (MIT)



© 2009-2015 Weubphoria. All Rights Reserved.

Documentation made easy with Document! X by Innovasys

Send Feedback