Esempio n. 1
0
 public void Dispose(ServicesCollection childContainer)
 {
     DisposeDriverService.DisposeAndroid(childContainer);
     DisposeDriverService.DisposeIOS(childContainer);
     DisposeDriverService.DisposeAndroid(ServicesCollection.Main);
     DisposeDriverService.DisposeIOS(ServicesCollection.Main);
 }
Esempio n. 2
0
        private void ShutdownApp(ServicesCollection container)
        {
            DisposeDriverService.DisposeAndroid(container);
            DisposeDriverService.DisposeIOS(container);

            var currentAppConfiguration = container.Resolve <AppConfiguration>("_currentAppConfiguration");

            container.RegisterInstance(currentAppConfiguration, "_previousAppConfiguration");
        }
Esempio n. 3
0
        public void DisposeAll()
        {
            foreach (var childContainer in ServicesCollection.Current.GetChildServicesCollections())
            {
                DisposeDriverService.DisposeAndroid(childContainer);
                DisposeDriverService.DisposeIOS(childContainer);
            }

            DisposeDriverService.DisposeAndroid(ServicesCollection.Main);
            DisposeDriverService.DisposeIOS(ServicesCollection.Main);
        }