21 lines
553 B
C#
21 lines
553 B
C#
|
|
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; }
|
|
}
|
|
} |