DomainObjects Class Library

Case.AddCase Method (Criteria, ValueType)

Add a condition that will be evaluated in the case statement.

public void AddCase(
   Criteria whenCondition,
   ValueType thenResult
);

Parameters

whenCondition
The condition to be evaluated.
thenResult
The value to return if the condition evaluates to true.

See Also

Case Class | DomainObjects.Facade.Command.Function Namespace | Case.AddCase Overload List