Exemplo n.º 1
0
        public static void Main()
        {
            var app = new App();

            app.InitializeComponent();
            RuntimeUpdateHandler.Register(app, $"/{Ammy.GetAssemblyName(app)};component/App.g.xaml");
            app.Run();
        }
Exemplo n.º 2
0
        public static void Main()
        {
            App app = new App();

            app.InitializeComponent();
            RuntimeUpdateHandler.Register(app, "/" + AmmySidekick.Ammy.GetAssemblyName(app) + ";component/App.g.xaml");
            app.Run();
        }
Exemplo n.º 3
0
        public static void Main()
        {
            var bootstrapper = new Bootstrapper();
            var resourcePath = $"/{Ammy.GetAssemblyName(bootstrapper)};component/App.g.xaml";

            bootstrapper.InitializeComponent(resourcePath);
#if DEBUG
            RuntimeUpdateHandler.Register(bootstrapper, resourcePath);
#endif

            bootstrapper.Run();
        }
Exemplo n.º 4
0
        public static void Main(string[] args)
        {
            if (args.Length > 1)
            {
                var options = GetExportAllOptions(args);
                ExportAll(options).GetAwaiter().GetResult();
                return;
            }

            var app = new App();

            app.InitializeComponent();

            RuntimeUpdateHandler.Register(app, $"/{Ammy.GetAssemblyName(app)};component/App.g.xaml");

            app.Run();
        }