Пример #1
0
 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;
 }
Пример #2
0
        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);
        }
Пример #3
0
        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();
        }
Пример #4
0
        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();
            }
        }