Test des menus
authorPAMPHILE Jonathan <pamphile@efrei.fr>
Mon, 31 Aug 2009 15:01:46 +0200
changeset 37 513de10ba65a
parent 36 b54f552f14ce
child 38 fe84b5081ba2
Test des menus
test/TestMenu/TestMenu/ActionBase.cs
test/TestMenu/TestMenu/ActionFactory.cs
--- a/test/TestMenu/TestMenu/ActionBase.cs	Mon Aug 31 15:01:27 2009 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,12 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-
-namespace TestMenu
-{
-    public interface ActionBase
-    {
-        void Execute();
-    }
-}
--- a/test/TestMenu/TestMenu/ActionFactory.cs	Mon Aug 31 15:01:27 2009 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-
-namespace TestMenu
-{
-    class ActionFactory
-    {
-        public ActionBase GenerateAction(Type T, Object Arg)
-        {
-            try
-            {
-                return (ActionBase)Activator.CreateInstance(T, Arg);
-            }
-            catch (Exception)
-            {
-                return null;
-            }
-        }
-    }
-}