public void OnApplicationDisposed(object sender, EventArgs e) { UnregisterInPartialTrust((HttpApplication) sender, _module); } }