ArcFM Engine Developer Guide
IfNotNull<T> Method


Check for null if not null do action.
Syntax
'Declaration
 
<ExtensionAttribute()>
Public Shared Sub IfNotNull(Of T)( _
   ByVal obj As T, _
   ByVal action As Action(Of T) _
) 
'Usage
 
Dim obj As T
Dim action As Action(Of T)
 
Extensions.IfNotNull(Of T)(obj, action)
[Extension()]
public static void IfNotNull<T>( 
   T obj,
   Action<T> action
)

Parameters

obj
action

Type Parameters

T
Requirements

Target Platforms: Windows XP SP3 (32-bit and 64-bit), Windows 7 (32-bit and 64-bit)

Not all Operating Systems are supported on all products. Visit the ArcFM Solution Supported Versions page for full details.

See Also

Reference

Extensions Class
Extensions Members

 

 


Send Comment