初始提交
This commit is contained in:
21
Services/Hncore.Pass.OSS/UEditor/Handlers/Handler.cs
Normal file
21
Services/Hncore.Pass.OSS/UEditor/Handlers/Handler.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
|
||||
using Microsoft.AspNetCore.Http;
|
||||
|
||||
namespace UEditor.Core.Handlers
|
||||
{
|
||||
public abstract class Handler
|
||||
{
|
||||
public Handler(HttpContext context)
|
||||
{
|
||||
this.Request = context.Request;
|
||||
this.Response = context.Response;
|
||||
this.Context = context;
|
||||
}
|
||||
|
||||
public abstract UEditorResult Process();
|
||||
|
||||
public HttpRequest Request { get; private set; }
|
||||
public HttpResponse Response { get; private set; }
|
||||
public HttpContext Context { get; private set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user