Example #1
0
 void ProcessType(DemoTreeNode parent, System.Type t)
 {
     foreach (MemberInfo mi in t.GetMembers())
     {
         parent.AddChild(new DemoTreeNode(mi.Name, mi.ToString()));
     }
 }
Example #2
0
		void ProcessAssembly (DemoTreeNode parent, Assembly asm)
		{
			string asm_name = asm.GetName ().Name;

			foreach (System.Type t in asm.GetTypes ()) {
				Dialog.Update ("Loading from {0}:\n{1}", asm_name, t.ToString ());
				DemoTreeNode node = new DemoTreeNode (t.Name, t.ToString ());
				ProcessType (node, t);
 				parent.AddChild (node);
			}
		}
Example #3
0
        void ProcessAssembly(DemoTreeNode parent, Assembly asm)
        {
            string asm_name = asm.GetName().Name;

            foreach (System.Type t in asm.GetTypes())
            {
                Dialog.Update("Loading from {0}:\n{1}", asm_name, t.ToString());
                DemoTreeNode node = new DemoTreeNode(t.Name, t.ToString());
                ProcessType(node, t);
                parent.AddChild(node);
            }
        }
Example #4
0
		void ProcessType (DemoTreeNode parent, System.Type t)
		{
			foreach (MemberInfo mi in t.GetMembers ())
 				parent.AddChild (new DemoTreeNode (mi.Name, mi.ToString ()));
		}