BolterLibrary.InterProcessCom.CurrentDomain_DomainUnload C# (CSharp) Method

CurrentDomain_DomainUnload() static private method

static private CurrentDomain_DomainUnload ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void
        static void CurrentDomain_DomainUnload(object sender, EventArgs e)
        {
            Console.WriteLine("{0} Unloaded", ((AppDomain)sender).FriendlyName);
            GC.Collect();
            GC.WaitForPendingFinalizers();
        }