C# 클래스 Frapid.Areas.TenantStaticContentHelper

Serves static contents from "wwwroot" tenant directory. The configuration key is "StaticResources" on "~/Tenants/{tenant}/Configs/Frapid.config".
파일 보기 프로젝트 열기: frapid/frapid

공개 메소드들

메소드 설명
GetConfig ( string tenant, string key ) : string
GetFile ( string tenant, HttpContext context ) : string

Returns path to the static content on the tenant directory.

메소드 상세

GetConfig() 공개 정적인 메소드

public static GetConfig ( string tenant, string key ) : string
tenant string
key string
리턴 string

GetFile() 공개 정적인 메소드

Returns path to the static content on the tenant directory.
public static GetFile ( string tenant, HttpContext context ) : string
tenant string
context System.Web.HttpContext
리턴 string