Show / Hide Table of Contents

Class EnumExtensions

Extensions for enumerations.

Inheritance
System.Object
EnumExtensions
Namespace: MESL.SqlRace.Domain.Extensions
Assembly: MESL.SqlRace.Domain.dll
Syntax
public static class EnumExtensions : Object

Methods

HasBitFlag(DataStatusType, DataStatusType)

Determines whether one or more bit fields are set in the current instance.

Declaration
public static bool HasBitFlag(this DataStatusType value, DataStatusType flag)
Parameters
Type Name Description
MAT.OCS.Core.DataStatusType value

The value.

MAT.OCS.Core.DataStatusType flag

An enumeration value.

Returns
Type Description
System.Boolean

True if the instance has the specified bit flag set, otherwise false.

HasBitFlag(SampleModeType, SampleModeType)

Determines whether [has bit flag] [the specified flag].

Declaration
public static bool HasBitFlag(this SampleModeType value, SampleModeType flag)
Parameters
Type Name Description
SampleModeType value

The value.

SampleModeType flag

The flag.

Returns
Type Description
System.Boolean

true if [has bit flag] [the specified flag]; otherwise, false.

Back to top Generated by DocFX