public static void Main(string[] args) { using (var context = new Context()) { using (var application = new DemoApplication(context)) application.Run(); } }
public static void Main(string[] args) { using (var context = new Context()) { using (var application = new DemoApplication(context)) { Environment.ExitCode = application.Run(); } } }
public static void Main(string[] args) { // This is required for loading and compiling *.cs scripts from resource path. Context.SetRuntimeApi(new CompiledScriptRuntimeApiImpl()); using (var context = new Context()) { using (var application = new DemoApplication(context)) { Environment.ExitCode = application.Run(); } } }