System.Xml.Tests.XsltApiTestCaseBase2.FullFilePath C# (CSharp) Méthode

FullFilePath() public méthode

public FullFilePath ( String szFile ) : String
szFile String
Résultat String
        public String FullFilePath(String szFile)
        {
            if (szFile == null || szFile == String.Empty)
                return szFile;
            if (szFile.Length > 5)
            {
                if (szFile.Substring(0, 5) != "http:")
                    szFile = Path.Combine(_strPath, szFile);
            }
            return szFile;
        }