Miner.Responder.Shared.Extensions Namespace > Extensions Class : IfNotNull<T> Method |
'Declaration
<System.Runtime.CompilerServices.ExtensionAttribute()> Public Shared Sub IfNotNull(Of T)( _ ByVal obj As T, _ ByVal action As System.Action(Of T) _ )
'Usage
Dim obj As T Dim action As System.Action(Of T) Extensions.IfNotNull(Of T)(obj, action)
[System.Runtime.CompilerServices.Extension()] public static void IfNotNull<T>( T obj, System.Action<T> action )
System.Runtime.CompilerServices.ExtensionAttribute() public static function IfNotNull( obj : T, action : System.Action );
Target Platforms: 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