public void Initialize(IApplication application) { var applicationLoadBehavior = new ApplicationLoadBehavior(); applicationLoadBehavior.AttachTo(application); applicationLoadBehavior.Subscribe(applicationWindow => { var downloadbehaviour = new DownloadBehavior(); downloadbehaviour.AttachTo(applicationWindow); }); }
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(); }