Example #1
0
 public static void Start <First, Second, Third>(Action <First, Second, Third> initCode,
                                                 Action runCode = null)
 {
     using (var resolver = new XnaResolver().Init(initCode))
         resolver.Run(runCode);
 }
Example #2
0
 protected void Run()
 {
     resolver.Run();
     resolver.Dispose();
 }
Example #3
0
 public static void Start <AppEntryRunner>()
     where AppEntryRunner : Runner
 {
     using (var resolver = new XnaResolver().Init <AppEntryRunner>())
         resolver.Run();
 }