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 methodStatic member AnyFlagSet(TEnum) Asserts that any bit from specified argument flag is set.
Public methodStatic member AnyFlagUnset(TEnum) Asserts that any bit from specified argument flag is not set.
Public methodStatic member AnyStateFlagSet(TEnum)(TEnum, TEnum, String) Asserts that any bit from specified state flag is set.
Public methodStatic member AnyStateFlagSet(TEnum)(TEnum, TEnum, String, Object[]) Asserts that any bit from specified state flag is set.
Public methodStatic member AnyStateFlagUnset(TEnum)(TEnum, TEnum, String) Asserts that any bit from specified state flag is not set.
Public methodStatic member AnyStateFlagUnset(TEnum)(TEnum, TEnum, String, Object[]) Asserts that any bit from specified state flag is not set.
Public methodStatic member Defined(TEnum) Asserts that specified argument enum value is defined.
Public methodStatic member FlagsDefined(TEnum) Asserts that all bits of the flags combination are defined.
Public methodStatic member FlagSet(TEnum) Asserts that the specified argument flag is set.
Public methodStatic member FlagUnset(TEnum) Asserts that the specified argument flag is not set.
Public methodStatic member StateFlagSet(TEnum)(TEnum, TEnum, String) Asserts that the specified state flag is set.
Public methodStatic member StateFlagSet(TEnum)(TEnum, TEnum, String, Object[]) Asserts that the specified state flag is set.
Public methodStatic member StateFlagUnset(TEnum)(TEnum, TEnum, String) Asserts that the specified state flag is not set.
Public methodStatic 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