Esempio n. 1
0
        public static void StartAndWait(this IIS.Site site)
        {
            var wait = new PollingWait(() => site.Start(), () => site.State == IIS.ObjectState.Started);

            wait.Invoke();
        }
Esempio n. 2
0
        public static void StartAndWait(this IIS.Site site)
        {
            var wait = new PollingWait(() => site.Start(), () => site.State == IIS.ObjectState.Started);

            wait.Invoke();
        }
Esempio n. 3
0
        public static void StopAndWait(this IIS.ApplicationPool appPool)
        {
            var wait = new PollingWait(() => appPool.Stop(), () => appPool.State == IIS.ObjectState.Stopped);

            wait.Invoke();
        }
Esempio n. 4
0
        public static void StopAndWait(this IIS.ApplicationPool appPool)
        {
            var wait = new PollingWait(() => appPool.Stop(), () => appPool.State == IIS.ObjectState.Stopped);

            wait.Invoke();
        }