public IEnvironmentVariableFilePath GetChildFilePath(string fileName)
            {
                Argument.IsNotNullOrEmpty(nameof(fileName), fileName);

                var pathString = PathBrowsingHelpers.GetChildFilePath(this, fileName);

                //Debug.Assert(pathString.IsValidEnvVarFilePath());

                return(new EnvironmentVariableFilePath(pathString));
            }
コード例 #2
0
            public IAbsoluteFilePath GetChildFilePath(string fileName)
            {
                Argument.IsNotNullOrEmpty(nameof(fileName), fileName);

                var pathString = PathBrowsingHelpers.GetChildFilePath(this, fileName);

                //Debug.Assert(pathString.IsValidAbsoluteFilePath());

                return(new AbsoluteFilePath(pathString));
            }