Cuemon .NET Framework
FlipFlop(Boolean,Act,Act) Method

When true, the firstExpression is invoked; when false, the secondExpression is invoked.
The delegate that is invoked when condition is true.
The delegate that is invoked when condition is false.
Invokes one of two expressions depending on the value of condition.
Syntax
'Declaration
 
Public Overloads Shared Sub FlipFlop( _
   ByVal condition As Boolean, _
   ByVal firstExpression As Act, _
   ByVal secondExpression As Act _
) 
public static void FlipFlop( 
   bool condition,
   Act firstExpression,
   Act secondExpression
)

Parameters

condition
When true, the firstExpression is invoked; when false, the secondExpression is invoked.
firstExpression
The delegate that is invoked when condition is true.
secondExpression
The delegate that is invoked when condition is false.
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

Condition Class
Condition 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