Method ToOutcome
ToOutcome(bool?)
Converts a nullable boolean to a CommandOutcome.
public static CommandOutcome ToOutcome(this bool? result)
Parameters
resultbool?The nullable boolean to convert.
Returns
- CommandOutcome
HandledStop for true, HandledContinue for false, NotHandled for null.