Ejemplo n.º 1
0
        public void Initialize(IApplication application)
        {
            var applicationLoadBehavior = new ApplicationLoadBehavior();

            applicationLoadBehavior.AttachTo(application);
            applicationLoadBehavior.Subscribe(applicationWindow =>
            {
                var downloadbehaviour = new DownloadBehavior();
                downloadbehaviour.AttachTo(applicationWindow);
            });
        }
Ejemplo n.º 2
0
        public void Initialize(IApplication application)
        {
            var applicationLoadBehavior = new ApplicationLoadBehavior();

            applicationLoadBehavior.AttachTo(application);
            applicationLoadBehavior.Subscribe(applicationWindow =>
            {
                var downloadbehaviour = new DownloadBehavior();
                downloadbehaviour.AttachTo(applicationWindow);
            });

            this.cacheNativeService      = new CacheNativeService();
            this.externalNativeService   = new ExternalNativeService();
            this.systemInfoNativeService = new SystemInfoNativeService();
        }