/// <summary> /// �¼�����ʱ������� /// </summary> /// <param name="sender">�¼������ߣ�һ��Ϊ<see cref="HttpApplication"/></param> /// <param name="eventType"><see cref="HttpApplicationEventTypeEnum"/></param> protected virtual void OnEvent(object sender, HttpApplicationEventTypeEnum eventType) { HttpApplication context = (HttpApplication)sender; if (HttpApplicationEvent != null) { HttpApplicationEvent(this, new HttpApplicationEventArgs(context, eventType)); } }
/// <summary> /// ���췽�� /// </summary> /// <param name="context">��ǰ <see cref="HttpApplication"/> ʵ��</param> /// <param name="eventType">�¼�����</param> public HttpApplicationEventArgs(HttpApplication context, HttpApplicationEventTypeEnum eventType) { this.context = context; this.eventType = eventType; }