Click or drag to resize
PreconditionEvaluateT Method (Boolean, String)
Evaluates a condition.

Namespace: StreamCoders.Helpers
Assembly: MediaBase (in MediaBase.dll) Version: 2.0.5.0 (2.0.5.0)
Syntax
public static void Evaluate<T>(
	bool condition,
	string message = ""
)
where 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