Exemple #1
0
        void OnAppDomainShutdown(ApplicationShutdownReason reason)
        {
            BuildManagerHostUnloadEventHandler eh = events [appDomainShutdownEvent] as BuildManagerHostUnloadEventHandler;

            if (eh != null)
            {
                BuildManagerHostUnloadEventArgs args = new BuildManagerHostUnloadEventArgs(reason);
                eh(this, args);
            }
        }
 private void OnAppDomainShutdown(object o, BuildManagerHostUnloadEventArgs args)
 {
     this._client.OnAppDomainShutdown(args.Reason);
 }
		void OnAppDomainShutdown (ApplicationShutdownReason reason)
		{
			BuildManagerHostUnloadEventHandler eh = events [appDomainShutdownEvent] as BuildManagerHostUnloadEventHandler;
			if (eh != null) {
				BuildManagerHostUnloadEventArgs args = new BuildManagerHostUnloadEventArgs (reason);
				eh (this, args);
			}
		}
 private void OnAppDomainShutdown(object o, BuildManagerHostUnloadEventArgs args)
 {
     _client.OnAppDomainShutdown(args.Reason);
 }
Exemple #5
0
 internal static void OnAppDomainShutdown(BuildManagerHostUnloadEventArgs e)
 {
   if (HttpRuntime.AppDomainShutdown == null)
     return;
   HttpRuntime.AppDomainShutdown((object) HttpRuntime._theRuntime, e);
 }