Class CommandOutcomeExtensions
Provides extension methods for converting between CommandOutcome and bool?.
public static class CommandOutcomeExtensions
- Inheritance
-
CommandOutcomeExtensions
- Inherited Members
Methods
- AsInt32(CommandOutcome)
Directly converts this CommandOutcome value to an int value with the same binary representation.
- AsUInt32(CommandOutcome)
Directly converts this CommandOutcome value to a uint value with the same binary representation.
- FastIsDefined(CommandOutcome, int)
Determines if the specified int value is explicitly defined as a named value of the CommandOutcome enum type.
- ToBool(CommandOutcome)
Converts a CommandOutcome to a nullable boolean for backward compatibility.
- ToOutcome(bool?)
Converts a nullable boolean to a CommandOutcome.