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

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

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

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

            wait.Invoke();
        }