C# Class Frapid.Areas.TenantStaticContentHelper

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

Public Methods

Method 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 method

public static GetConfig ( string tenant, string key ) : string
tenant string
key string
return string

GetFile() public static method

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