public static List<DescriptionClass> PutTypeInList(DllReader dllReader) { List<DescriptionClass> allClasses = new List<DescriptionClass>(); DescriptionClass dClass; foreach (Type type in dllReader.GetAllTypes()) { dClass = new DescriptionClass(dllReader, type); allClasses.Add(dClass); } return allClasses; }
public static List <DescriptionClass> PutTypeInList(DllReader dllReader) { List <DescriptionClass> allClasses = new List <DescriptionClass>(); DescriptionClass dClass; foreach (Type type in dllReader.GetAllTypes()) { dClass = new DescriptionClass(dllReader, type); allClasses.Add(dClass); } return(allClasses); }
static void Main(string[] args) { DllReader test = new DllReader("GridMapper.exe"); DescriptionClass dClass; List<DescriptionClass> allClasses = new List<DescriptionClass>(); Type[] typeAssembly = test.GetAllTypes(); foreach (Type type in typeAssembly) { dClass = new DescriptionClass(test, type); allClasses.Add(dClass); } foreach (DescriptionClass dc in allClasses) dc.printClass(); }
static void Main(string[] args) { DllReader test = new DllReader("GridMapper.exe"); DescriptionClass dClass; List <DescriptionClass> allClasses = new List <DescriptionClass>(); Type[] typeAssembly = test.GetAllTypes(); foreach (Type type in typeAssembly) { dClass = new DescriptionClass(test, type); allClasses.Add(dClass); } foreach (DescriptionClass dc in allClasses) { dc.printClass(); } }