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); }
protected void Run() { resolver.Run(); resolver.Dispose(); }
public static void Start <AppEntryRunner>() where AppEntryRunner : Runner { using (var resolver = new XnaResolver().Init <AppEntryRunner>()) resolver.Run(); }