bool FireEvent (string method_name, object target, object [] args)
{
Hashtable possibleEvents = GetApplicationTypeEvents ((HttpApplication) target);
MethodInfo method = possibleEvents [method_name] as MethodInfo;
if (method == null)
return false;
if (method.GetParameters ().Length == 0)
args = null;
method.Invoke (target, args);
return true;
}