public void Init(HttpApplication context) { var args = new HttpModuleInitializingEventArgs(this, context); HttpModuleInitialization.OnInitializing(args); if (args.HasDisposables) { _disposables = args.Disposables.ToArray(); } }
internal static void OnInitializing(HttpModuleInitializingEventArgs args) { Initializing?.Invoke(args.Module, args); }