concord.Configuration.RunnerSettings.PrependFilenames C# (CSharp) Method

PrependFilenames() private method

private PrependFilenames ( string prependWith ) : void
prependWith string
return void
        internal void PrependFilenames(string prependWith)
        {
            ResultsXmlFilename = prependWith + ResultsXmlFilename;
            ResultsHtmlReportFilename = prependWith + ResultsHtmlReportFilename;
            ResultsStatsFilename = prependWith + ResultsStatsFilename;
            ResultsOrderDataFilename = prependWith + ResultsOrderDataFilename;
        }

Usage Example

Example #1
0
        public RunnerSettingsBuilder PrependFilenames(string prependWith)
        {
            if (_runnerSettings == null)
            {
                throw new Exception("Must start with SetOutputFolder");
            }

            if (!string.IsNullOrWhiteSpace(prependWith))
            {
                _runnerSettings.PrependFilenames(prependWith);
            }
            return(this);
        }