private GetResourceFileName ( string pageName, bool embeddedResource ) : string | ||
pageName | string | |
embeddedResource | bool | |
Результат | string |
private string GetResourceFileName(string pageName, bool embeddedResource)
{
return embeddedResource ? pageName : FilePath.GetAbsolutePath($"{m_webRootPath}{pageName.Replace('/', Path.DirectorySeparatorChar)}");
}