Ejemplo n.º 1
0
        /// <summary>
        /// Initializes the singleton application object.  This is the first line of authored code
        /// executed, and as such is the logical equivalent of main() or WinMain().
        /// </summary>
        public App()
        {
            this.InitializeComponent();
            this.StartSearchCommand = new RelayCommand(this.StartSearchAction);

            Assemblies.AddAssembly(Assembly.Load(new AssemblyName("EveOnlineApi")));
            Assemblies.AddAssembly(Assembly.Load(new AssemblyName("EveMarket.Views")));
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Initializes a new instance of <see cref="ApplicationBase"/>
        /// </summary>
        public ApplicationBase()
        {
            this.Suspending += OnSuspending;

            Assemblies.AddAssembly(typeof(ApplicationBase).GetTypeInfo().Assembly);
            Assemblies.AddAssembly(typeof(Locale).GetTypeInfo().Assembly);
            Assemblies.AddAssembly(typeof(Serializer).GetTypeInfo().Assembly);
            Assemblies.AddAssembly(typeof(Factory).GetTypeInfo().Assembly);
        }