Init
This commit is contained in:
12
Prefab/Handler/HandlerContextItems.cs
Normal file
12
Prefab/Handler/HandlerContextItems.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
namespace Prefab.Handler;
|
||||
|
||||
/// <summary>
|
||||
/// Provides shared keys for storing handler context metadata in request-scoped containers.
|
||||
/// </summary>
|
||||
public static class HandlerContextItems
|
||||
{
|
||||
/// <summary>
|
||||
/// Key used when storing <see cref="HandlerContext"/> in <see cref="Microsoft.AspNetCore.Http.HttpContext.Items"/>.
|
||||
/// </summary>
|
||||
public const string HttpContextKey = "__prefab.handler-context";
|
||||
}
|
||||
Reference in New Issue
Block a user