| PreconditionEvaluateT Method (Boolean, String) | 
                 Evaluates a condition.
             
 
Namespace: StreamCoders.HelpersAssembly: MediaBase (in MediaBase.dll) Version: 2.0.5.0 (2.0.5.0)
 Syntax
Syntaxpublic static void Evaluate<T>(
	bool condition,
	string message = ""
)
where T : Exception
Public Shared Sub Evaluate(Of T As Exception) ( 
	condition As Boolean,
	Optional message As String = ""
)
public:
generic<typename T>
where T : Exception
static void Evaluate(
	bool condition, 
	String^ message = L""
)
static member Evaluate : 
        condition : bool * 
        ?message : string 
(* Defaults:
        let _message = defaultArg message ""
*)
-> unit  when 'T : Exception
Parameters
- condition
- Type: SystemBoolean
 true to condition.
- message (Optional)
- Type: SystemString
 (optional) the message to be contained in the exception.
Type Parameters
- T
- 
                 Generic type parameter.
             
 See Also
See Also