C# Class Frapid.Areas.TenantStaticContentHelper

Serves static contents from "wwwroot" tenant directory. The configuration key is "StaticResources" on "~/Tenants/{tenant}/Configs/Frapid.config".
Afficher le fichier Open project: frapid/frapid

Méthodes publiques

Méthode Description
GetConfig ( string tenant, string key ) : string
GetFile ( string tenant, HttpContext context ) : string

Returns path to the static content on the tenant directory.

Method Details

GetConfig() public static méthode

public static GetConfig ( string tenant, string key ) : string
tenant string
key string
Résultat string

GetFile() public static méthode

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