BExIS.Ext.Services.BExISTenantPathProvider.GetContentFilePathFromFallbackTenant C# (CSharp) Method

GetContentFilePathFromFallbackTenant() protected method

protected GetContentFilePathFromFallbackTenant ( string fallbackTenantId, string contentFileName ) : string
fallbackTenantId string
contentFileName string
return string
        protected override string GetContentFilePathFromFallbackTenant(string fallbackTenantId, string contentFileName)
        {
            // Check if the resouce exists in the fallback tenant's folder, if not check the application folders
            string basePath = base.GetContentFilePathFromFallbackTenant(fallbackTenantId, contentFileName);
            if (File.Exists(basePath))
                return basePath;
            return Path.Combine(AppConfiguration.AppRoot, "Content", "Static", contentFileName);
        }