8 public AlphabeticalEnumConverter(
Type type)
15 if (base.Values ==
null)
18 object[] array =
new object[values.
Length];
19 for (
int i = 0; i < array.Length; i++)
21 array[i] = ConvertTo(context,
null, values.
GetValue(i), typeof(
string));
24 base.Values =
new StandardValuesCollection(values);
Compares two objects for equivalence, where string comparisons are case-sensitive.
Provides contextual information about a component, such as its container and property descriptor.
Provides a type converter to convert T:System.Enum objects to and from various other representations.
static void Sort(Array array)
Sorts the elements in an entire one-dimensional T:System.Array using the T:System....
Provides the base class for enumerations.
static readonly Comparer Default
Represents an instance of T:System.Collections.Comparer that is associated with the P:System....
static Array GetValues(Type enumType)
Retrieves an array of the values of the constants in a specified enumeration.
Provides methods for creating, manipulating, searching, and sorting arrays, thereby serving as the ba...
Represents type declarations: class types, interface types, array types, value types,...
unsafe object GetValue(params int[] indices)
Gets the value at the specified position in the multidimensional T:System.Array. The indexes are spec...
int Length
Gets the total number of elements in all the dimensions of the T:System.Array.