Namespace: Consultingwerk.Util
Class 
EnumHelperExt Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object

File:EnumHelperExt
Purpose:Provides Helper Functions for Enum types (ABL, .NET,
Consultingwerk)
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Fri Sep 21 13:09:58 CEST 2012
Notes:Class named EnumHelperExt to avoid naming conflicts
with the Progress.Util.EnumHelper class, as both packages
(Consultingwerk.Util and Progress.Util) are likely candidates
for being used in an USING statement



Top Method Summary
Options Name Purpose
+ System.Enum Add (Enum, Enum, Enum) Performs a logical Add on an Array of .NET Enum values *
+ System.Enum Add (Enum, Enum, Enum, Enum) Performs a logical Add on an Array of .NET Enum values *
+ System.Enum Add (Enum, Enum, Enum, Enum, Enum) Performs a logical Add on an Array of .NET Enum values *
+ System.Enum Add (Enum[]) Performs a logical Add on an Array of .NET Enum values *
+ LOGICAL Contains (Enum, Enum) Returns true, when the specified list of flagged .NET Enum values does contain the the specified value (e.g. compaing DockStyle Top, Left
+ System.Enum FromInteger (Type, integer) Returns the .NET Enum member that represents the given integer value
+ Progress.Lang.Object FromString (character, Class) Returns the Progress.Lang.Enum or Consultingwerk.Enum for the given string
+ System.Enum Or (Enum, Enum) Performs a logical Or on two .NET Enum values
+ System.Enum Or (Enum, Enum, Enum) Performs a logical Or on an Array of .NET Enum values
+ System.Enum Or (Enum, Enum, Enum, Enum) Performs a logical Or on an Array of .NET Enum values
+ System.Enum Or (Enum, Enum, Enum, Enum, Enum) Performs a logical Or on an Array of .NET Enum values
+ System.Enum Or (Enum, Enum, Enum, Enum, Enum, Enum) Performs a logical Or on an Array of .NET Enum values
+ System.Enum Or (Enum, Enum, Enum, Enum, Enum, Enum, Enum) Performs a logical Or on an Array of .NET Enum values
+ System.Enum Or (Enum, Enum, Enum, Enum, Enum, Enum, Enum, Enum) Performs a logical Or on an Array of .NET Enum values
+ System.Enum Or (Enum, Enum, Enum, Enum, Enum, Enum, Enum, Enum, Enum) Performs a logical Or on an Array of .NET Enum values
+ System.Enum Or (Enum, Enum, Enum, Enum, Enum, Enum, Enum, Enum, Enum, Enum) Performs a logical Or on an Array of .NET Enum values
+ System.Enum Or (Enum, Enum, Enum, Enum, Enum, Enum, Enum, Enum, Enum, Enum, Enum) Performs a logical Or on an Array of .NET Enum values
+ System.Enum Or (Enum, Enum, Enum, Enum, Enum, Enum, Enum, Enum, Enum, Enum, Enum, Enum) Performs a logical Or on an Array of .NET Enum values
+ System.Enum Or (Enum[]) Performs a logical Or on an Array of .NET Enum values

Top Constructor Summary
Options Name Purpose
# EnumHelperExt () Constructor for the EnumHelperExt class


Method Detail
Top

PUBLIC System.Enum Add (Enum, Enum, Enum)

Purpose: Performs a logical Add on an Array of .NET Enum values
Notes:

Parameters:
poEnum1 System.Enum
The first System.Enum for the Add operation
poEnum2 System.Enum
The first System.Enum for the Add operation
poEnum3 System.Enum
The first System.Enum for the Add operation
Returns System.Enum
The resulting Enum
Top

PUBLIC System.Enum Add (Enum, Enum, Enum, Enum)

Purpose: Performs a logical Add on an Array of .NET Enum values
Notes:

Parameters:
poEnum1 System.Enum
The first System.Enum for the Add operation
poEnum2 System.Enum
The first System.Enum for the Add operation
poEnum3 System.Enum
The first System.Enum for the Add operation
poEnum4 System.Enum
The first System.Enum for the Add operation
Returns System.Enum
The resulting Enum
Top

PUBLIC System.Enum Add (Enum, Enum, Enum, Enum, Enum)

Purpose: Performs a logical Add on an Array of .NET Enum values
Notes:

Parameters:
poEnum1 System.Enum
The first System.Enum for the Add operation
poEnum2 System.Enum
The first System.Enum for the Add operation
poEnum3 System.Enum
The first System.Enum for the Add operation
poEnum4 System.Enum
The first System.Enum for the Add operation
poEnum5 System.Enum
The first System.Enum for the Add operation
Returns System.Enum
The resulting Enum
Top

PUBLIC System.Enum Add (Enum[])

Purpose: Performs a logical Add on an Array of .NET Enum values
Notes:

Parameters:
poEnumArray System.Enum
An Array of Enum values
Returns System.Enum
The resulting Enum
Top

PUBLIC LOGICAL Contains (Enum, Enum)

Purpose: Returns true, when the specified list of flagged .NET Enum values does
contain the the specified value (e.g. compaing DockStyle Top, Left
Notes:

Parameters:
poEnumList System.Enum
A list of flagged Enum values
poValue System.Enum
A single Enum value
Returns LOGICAL
True when the specified list of flagged Enum values does contain the specified value
Top

PUBLIC System.Enum FromInteger (Type, integer)

Purpose: Returns the .NET Enum member that represents the given integer value
Notes: SCL-592

Parameters:
poType System.Type
The Enum Member type to return the member from
piValue INTEGER
The value to return the enum member for
Returns System.Enum
The enum member with the given value
Top

PUBLIC Progress.Lang.Object FromString (character, Class)

Purpose: Returns the Progress.Lang.Enum or Consultingwerk.Enum for
the given string
Notes:

Parameters:
pcValue CHARACTER
The Enum Name
poClass Progress.Lang.Class
The Enum Class
Returns Progress.Lang.Object
The enum member
Top

PUBLIC System.Enum Or (Enum, Enum)

Purpose: Performs a logical Or on two .NET Enum values
Notes:

Parameters:
poEnum1 System.Enum
The first System.Enum for the Or operation
poEnum2 System.Enum
The second System.Enum for the Or operation
Returns System.Enum
The resulting Enum
Top

PUBLIC System.Enum Or (Enum, Enum, Enum)

Purpose: Performs a logical Or on an Array of .NET Enum values
Notes:

Parameters:
poEnum1 System.Enum
The first System.Enum for the Or operation
poEnum2 System.Enum
The second System.Enum for the Or operation
poEnum3 System.Enum
The third System.Enum for the Or operation
Returns System.Enum
The resulting Enum
Top

PUBLIC System.Enum Or (Enum, Enum, Enum, Enum)

Purpose: Performs a logical Or on an Array of .NET Enum values
Notes:

Parameters:
poEnum1 System.Enum
The first System.Enum for the Or operation
poEnum2 System.Enum
The second System.Enum for the Or operation
poEnum3 System.Enum
The third System.Enum for the Or operation
poEnum4 System.Enum
The fourth System.Enum for the Or operation
Returns System.Enum
The resulting Enum
Top

PUBLIC System.Enum Or (Enum, Enum, Enum, Enum, Enum)

Purpose: Performs a logical Or on an Array of .NET Enum values
Notes:

Parameters:
poEnum1 System.Enum
The first System.Enum for the Or operation
poEnum2 System.Enum
The second System.Enum for the Or operation
poEnum3 System.Enum
The third System.Enum for the Or operation
poEnum4 System.Enum
The fourth System.Enum for the Or operation
poEnum5 System.Enum
The fifth System.Enum for the Or operation
Returns System.Enum
The resulting Enum
Top

PUBLIC System.Enum Or (Enum, Enum, Enum, Enum, Enum, Enum)

Purpose: Performs a logical Or on an Array of .NET Enum values
Notes:

Parameters:
poEnum1 System.Enum
The first System.Enum for the Or operation
poEnum2 System.Enum
The second System.Enum for the Or operation
poEnum3 System.Enum
The third System.Enum for the Or operation
poEnum4 System.Enum
The fourth System.Enum for the Or operation
poEnum5 System.Enum
The fifth System.Enum for the Or operation
poEnum6 System.Enum
The sixth System.Enum for the Or operation
Returns System.Enum
The resulting Enum
Top

PUBLIC System.Enum Or (Enum, Enum, Enum, Enum, Enum, Enum, Enum)

Purpose: Performs a logical Or on an Array of .NET Enum values
Notes:

Parameters:
poEnum1 System.Enum
The first System.Enum for the Or operation
poEnum2 System.Enum
The second System.Enum for the Or operation
poEnum3 System.Enum
The third System.Enum for the Or operation
poEnum4 System.Enum
The fourth System.Enum for the Or operation
poEnum5 System.Enum
The fifth System.Enum for the Or operation
poEnum6 System.Enum
The sixth System.Enum for the Or operation
poEnum7 System.Enum
The seventh System.Enum for the Or operation
Returns System.Enum
The resulting Enum
Top

PUBLIC System.Enum Or (Enum, Enum, Enum, Enum, Enum, Enum, Enum, Enum)

Purpose: Performs a logical Or on an Array of .NET Enum values
Notes:

Parameters:
poEnum1 System.Enum
The first System.Enum for the Or operation
poEnum2 System.Enum
The second System.Enum for the Or operation
poEnum3 System.Enum
The third System.Enum for the Or operation
poEnum4 System.Enum
The fourth System.Enum for the Or operation
poEnum5 System.Enum
The fifth System.Enum for the Or operation
poEnum6 System.Enum
The sixth System.Enum for the Or operation
poEnum7 System.Enum
The seventh System.Enum for the Or operation
poEnum8 System.Enum
The eigth System.Enum for the Or operation
Returns System.Enum
The resulting Enum
Top

PUBLIC System.Enum Or (Enum, Enum, Enum, Enum, Enum, Enum, Enum, Enum, Enum)

Purpose: Performs a logical Or on an Array of .NET Enum values
Notes:

Parameters:
poEnum1 System.Enum
The first System.Enum for the Or operation
poEnum2 System.Enum
The second System.Enum for the Or operation
poEnum3 System.Enum
The third System.Enum for the Or operation
poEnum4 System.Enum
The fourth System.Enum for the Or operation
poEnum5 System.Enum
The fifth System.Enum for the Or operation
poEnum6 System.Enum
The sixth System.Enum for the Or operation
poEnum7 System.Enum
The seventh System.Enum for the Or operation
poEnum8 System.Enum
The eigth System.Enum for the Or operation
poEnum9 System.Enum
The nineth System.Enum for the Or operation
Returns System.Enum
The resulting Enum
Top

PUBLIC System.Enum Or (Enum, Enum, Enum, Enum, Enum, Enum, Enum, Enum, Enum, Enum)

Purpose: Performs a logical Or on an Array of .NET Enum values
Notes:

Parameters:
poEnum1 System.Enum
The first System.Enum for the Or operation
poEnum2 System.Enum
The second System.Enum for the Or operation
poEnum3 System.Enum
The third System.Enum for the Or operation
poEnum4 System.Enum
The fourth System.Enum for the Or operation
poEnum5 System.Enum
The fifth System.Enum for the Or operation
poEnum6 System.Enum
The sixth System.Enum for the Or operation
poEnum7 System.Enum
The seventh System.Enum for the Or operation
poEnum8 System.Enum
The eigth System.Enum for the Or operation
poEnum9 System.Enum
The nineth System.Enum for the Or operation
poEnum10 System.Enum
The tenth System.Enum for the Or operation
Returns System.Enum
The resulting Enum
Top

PUBLIC System.Enum Or (Enum, Enum, Enum, Enum, Enum, Enum, Enum, Enum, Enum, Enum, Enum)

Purpose: Performs a logical Or on an Array of .NET Enum values
Notes:

Parameters:
poEnum1 System.Enum
The first System.Enum for the Or operation
poEnum2 System.Enum
The second System.Enum for the Or operation
poEnum3 System.Enum
The third System.Enum for the Or operation
poEnum4 System.Enum
The fourth System.Enum for the Or operation
poEnum5 System.Enum
The fifth System.Enum for the Or operation
poEnum6 System.Enum
The sixth System.Enum for the Or operation
poEnum7 System.Enum
The seventh System.Enum for the Or operation
poEnum8 System.Enum
The eigth System.Enum for the Or operation
poEnum9 System.Enum
The nineth System.Enum for the Or operation
poEnum10 System.Enum
The tenth System.Enum for the Or operation
poEnum11 System.Enum
The eleventh System.Enum for the Or operation
Returns System.Enum
The resulting Enum
Top

PUBLIC System.Enum Or (Enum, Enum, Enum, Enum, Enum, Enum, Enum, Enum, Enum, Enum, Enum, Enum)

Purpose: Performs a logical Or on an Array of .NET Enum values
Notes:

Parameters:
poEnum1 System.Enum
The first System.Enum for the Or operation
poEnum2 System.Enum
The second System.Enum for the Or operation
poEnum3 System.Enum
The third System.Enum for the Or operation
poEnum4 System.Enum
The fourth System.Enum for the Or operation
poEnum5 System.Enum
The fifth System.Enum for the Or operation
poEnum6 System.Enum
The sixth System.Enum for the Or operation
poEnum7 System.Enum
The seventh System.Enum for the Or operation
poEnum8 System.Enum
The eigth System.Enum for the Or operation
poEnum9 System.Enum
The nineth System.Enum for the Or operation
poEnum10 System.Enum
The tenth System.Enum for the Or operation
poEnum11 System.Enum
The eleventh System.Enum for the Or operation
poEnum12 System.Enum
The twelveth System.Enum for the Or operation
Returns System.Enum
The resulting Enum
Top

PUBLIC System.Enum Or (Enum[])

Purpose: Performs a logical Or on an Array of .NET Enum values
Notes:

Parameters:
poEnumArray System.Enum
An Array of Enum values
Returns System.Enum
The resulting Enum


Constructor Detail
Top

PROTECTED EnumHelperExt ()

Purpose: Constructor for the EnumHelperExt class
Notes: Disallow instance creation



©2006-2019 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       08.08.2019 23:57:03