Cuemon .NET Framework
InvokeIfNotNull<T>(Act<T>,T) Method

The type of the parameter of the delegate body.
The delegate to invoke when assigned a method.
The parameter of the delegate body.
If the specified body meets the condition of not being null, it will be invoked with a single generic parameter.
Syntax
'Declaration
 
Public Overloads Shared Sub InvokeIfNotNull(Of T)( _
   ByVal body As Cuemon.Act(Of T), _
   ByVal arg As T _
) 
public static void InvokeIfNotNull<T>( 
   Cuemon.Act<T> body,
   T arg
)

Parameters

body
The delegate to invoke when assigned a method.
arg
The parameter of the delegate body.

Type Parameters

T
The type of the parameter of the delegate body.
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
Overload List

 

 


| 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