Skip to content

T_CodeJam_EnumCode

Andrew Koryavchenko edited this page Jun 17, 2018 · 3 revisions

EnumCode Class

Enum assertions class.

Inheritance Hierarchy

System.Object
  CodeJam.EnumCode
Namespace: CodeJam
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0

Syntax

C#

public static class EnumCode

VB

Public NotInheritable Class EnumCode

F#

[<AbstractClassAttribute>]
[<SealedAttribute>]
type EnumCode =  class end

The EnumCode type exposes the following members.

Methods

 

Name Description
Public method Static member AnyFlagSet(TEnum) Asserts that any bit from specified argument flag is set.
Public method Static member AnyFlagUnset(TEnum) Asserts that any bit from specified argument flag is not set.
Public method Static member AnyStateFlagSet(TEnum)(TEnum, TEnum, String) Asserts that any bit from specified state flag is set.
Public method Static member AnyStateFlagSet(TEnum)(TEnum, TEnum, String, Object[]) Asserts that any bit from specified state flag is set.
Public method Static member AnyStateFlagUnset(TEnum)(TEnum, TEnum, String) Asserts that any bit from specified state flag is not set.
Public method Static member AnyStateFlagUnset(TEnum)(TEnum, TEnum, String, Object[]) Asserts that any bit from specified state flag is not set.
Public method Static member Defined(TEnum) Asserts that specified argument enum value is defined.
Public method Static member FlagsDefined(TEnum) Asserts that all bits of the flags combination are defined.
Public method Static member FlagSet(TEnum) Asserts that the specified argument flag is set.
Public method Static member FlagUnset(TEnum) Asserts that the specified argument flag is not set.
Public method Static member StateFlagSet(TEnum)(TEnum, TEnum, String) Asserts that the specified state flag is set.
Public method Static member StateFlagSet(TEnum)(TEnum, TEnum, String, Object[]) Asserts that the specified state flag is set.
Public method Static member StateFlagUnset(TEnum)(TEnum, TEnum, String) Asserts that the specified state flag is not set.
Public method Static member StateFlagUnset(TEnum)(TEnum, TEnum, String, Object[]) Asserts that the specified state flag is not set.
  Back to Top

See Also

Reference

CodeJam Namespace

Clone this wiki locally