Esempio n. 1
0
 public void Module()
 {
     // only the ctor requires UnmanagedCode
     module.Init(app);
     module.Authenticate += new FormsAuthenticationEventHandler(Authenticate);
     module.Authenticate -= new FormsAuthenticationEventHandler(Authenticate);
     module.Dispose();              // but doesn't implement IDisposable
 }
Esempio n. 2
0
 public void Dispose()
 {
     _formsAuthenticationModule.Dispose();
     _formsAuthenticationModule = null;
     GC.SuppressFinalize(this);
 }