Click or drag to resize
EnumExtensions Class
Utility methods for operating on enum values.
Inheritance Hierarchy
SystemObject
  Slash.SystemExt.UtilsEnumExtensions

Namespace: Slash.SystemExt.Utils
Assembly: Slash.System (in Slash.System.dll) Version: 1.0.5843.24176
Syntax
public static class EnumExtensions

The EnumExtensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAndComplementOption
Computes the logical AND of the enum value and the complement of the specified option.
Public methodStatic memberAndOption
Computes the logical AND of the enum value and the specified option.
Public methodStatic memberAnyOptionSet
Checks if any of the options is set in the specified value.
Public methodStatic memberIsOptionSet
Replacement for Enum.HasFlag in .NET before 4.0.
Public methodStatic memberNextValueT
Returns the next value for the specified enum value. Wraps around if required.
Public methodStatic memberOrOption
Computes the logical OR of the enum value and the specified option.
Top
See Also