프로퍼티 | 타입 | 설명 | |
---|---|---|---|
ApplicationServices | IServiceProvider |
메소드 | 설명 | |
---|---|---|
CanOption ( string name, ISession session ) : bool |
判断可选状态是否为真
|
|
CaptchaMiddleware ( RequestDelegate next, ICodeGenerator codeGenerator, IGraphicGenerator graphicGenerator ) : System | ||
DisableOption ( string name, ISession session ) : void |
禁用可选状态
|
|
EnableOption ( string name, ISession session ) : void |
清除可选状态的值,以便启用可选判断
|
|
Invoke ( Microsoft.AspNet.Http.HttpContext context ) : System.Threading.Tasks.Task |
Process an individual request.
|
public static CanOption ( string name, ISession session ) : bool | ||
name | string | |
session | ISession | |
리턴 | bool |
public CaptchaMiddleware ( RequestDelegate next, ICodeGenerator codeGenerator, IGraphicGenerator graphicGenerator ) : System | ||
next | RequestDelegate | |
codeGenerator | ICodeGenerator | |
graphicGenerator | IGraphicGenerator | |
리턴 | System |
public static DisableOption ( string name, ISession session ) : void | ||
name | string | |
session | ISession | |
리턴 | void |
public static EnableOption ( string name, ISession session ) : void | ||
name | string | |
session | ISession | |
리턴 | void |
public Invoke ( Microsoft.AspNet.Http.HttpContext context ) : System.Threading.Tasks.Task | ||
context | Microsoft.AspNet.Http.HttpContext | |
리턴 | System.Threading.Tasks.Task |