GetLocalPathFromRelativePath() public static method

Maps a relative path to local path on file system
public static GetLocalPathFromRelativePath ( string relativePath ) : string
relativePath string
return string
コード例 #1
0
        public static void MarkTablesInstalled(bool installed = true)
        {
            var appData = ServerHelper.GetLocalPathFromRelativePath("~/App_Data/mobSocial");

            System.IO.File.Create(appData);
        }
コード例 #2
0
        public static bool AreTablesInstalled()
        {
            var appData = ServerHelper.GetLocalPathFromRelativePath("~/App_Data/mobSocial");

            return(System.IO.File.Exists(appData));
        }