/// <summary> /// Event handler for when the <see cref="BeforeRouting"/> event is raised /// </summary> /// <param name="context">The <see cref="IHttpContext"/> being routed</param> protected internal void OnBeforeRouting(IHttpContext context) { BeforeRouting?.Invoke(context); }
/// <summary> /// Event handler for when the <see cref="BeforeRouting"/> event is raised /// </summary> /// <param name="context">The <see cref="IHttpContext"/> being routed</param> protected void OnBeforeRouting(IHttpContext context) { Before?.Invoke(context); BeforeRouting?.Invoke(context); }