Cuemon .NET Framework
InvokeIfNotNull Method

If the specified body meets the condition of not being null, it will be invoked.
Overload List
OverloadDescription
InvokeIfNotNull(Act)If the specified body meets the condition of not being null, it will be invoked.  
InvokeIfNotNull<T>(Act<T>,T)If the specified body meets the condition of not being null, it will be invoked with a single generic parameter.  
InvokeIfNotNull<T1,T2>(Act<T1,T2>,T1,T2)If the specified body meets the condition of not being null, it will be invoked with two generic parameters.  
InvokeIfNotNull<T1,T2,T3>(Act<T1,T2,T3>,T1,T2,T3)If the specified body meets the condition of not being null, it will be invoked with three generic parameters.  
InvokeIfNotNull<T1,T2,T3,T4>(Act<T1,T2,T3,T4>,T1,T2,T3,T4)If the specified body meets the condition of not being null, it will be invoked with four generic parameters.  
InvokeIfNotNull<T1,T2,T3,T4,T5>(Act<T1,T2,T3,T4,T5>,T1,T2,T3,T4,T5)If the specified body meets the condition of not being null, it will be invoked with five generic parameters.  
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