public void Display()
{
ecac.ConfigFile = confFile;
LoadType();
if(type == null || !type.IsEnum)
{
System.Console.Write("-->Failed to load the enumeration: " + className);
return;
}
Array ar = Enum.GetValues(type);
System.Console.WriteLine("-->Enumeration: {0}", type.ToString());
for(int i=0; i < ar.Length; i++)
{
Enum b = (Enum)ar.GetValue(i);
System.Console.Write(" {0}", Enum.Format(type, b, "G"));
System.Console.WriteLine(" ({0}) ", Enum.Format(type, b, "D"));
}
}