예제 #1
0
 /// <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);
 }
예제 #2
0
 /// <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);
 }