Пример #1
0
        public void Init(HttpApplication context)
        {
            var args = new HttpModuleInitializingEventArgs(this, context);

            HttpModuleInitialization.OnInitializing(args);
            if (args.HasDisposables)
            {
                _disposables = args.Disposables.ToArray();
            }
        }
Пример #2
0
 internal static void OnInitializing(HttpModuleInitializingEventArgs args)
 {
     Initializing?.Invoke(args.Module, args);
 }