|
ShopPlatform.Web 1.0.0.0
농산물, 소프트웨어 라이선스와 개발 용역을 직접 판매하는 CodeMaru 직영 쇼핑몰입니다.
|
Public 멤버 함수 | |
| TenantMiddleware (RequestDelegate next) | |
| async Task | InvokeAsync (HttpContext ctx, TenantContext tenantCtx, IShopTenantStore store) |
Private 속성 | |
| readonly RequestDelegate | _next |
정적 Private 속성 | |
| static readonly HashSet< string > | _reserved |
요청 경로에서 {slug} 를 추출해 TenantContext 에 주입. 경로 패턴: /{slug}/... 또는 /{slug} 예약어 ("admin", "healthz", "_blazor", "_framework") 는 테넌트로 처리하지 않음.
TenantMiddleware.cs 파일의 13 번째 라인에서 정의되었습니다.
|
inline |
지정한 설정으로 TenantMiddleware 클래스의 새 인스턴스를 초기화합니다.
| next | next에 사용할 RequestDelegate 값입니다. |
TenantMiddleware.cs 파일의 54 번째 라인에서 정의되었습니다.
다음을 참조함 : _next.
|
inline |
Invoke Async 작업을 수행합니다.
| ctx | ctx에 사용할 HttpContext 값입니다. |
| tenantCtx | tenant Ctx에 사용할 TenantContext 값입니다. |
| store | store에 사용할 IShopTenantStore 값입니다. |
Task 결과입니다.TenantMiddleware.cs 파일의 96 번째 라인에서 정의되었습니다.
다음을 참조함 : _next, _reserved, ShopPlatform.Services.IShopTenantStore.GetAsync().

|
private |
next 값을 보관합니다.
TenantMiddleware.cs 파일의 36 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : InvokeAsync(), TenantMiddleware().
|
staticprivate |
reserved 값을 보관합니다.
TenantMiddleware.cs 파일의 23 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : InvokeAsync().