GetNormalizedPathList() public static method

public static GetNormalizedPathList ( this paths ) : IEnumerable
paths this
return IEnumerable
Example #1
0
        public void SaveToCache(IEnumerable <string> inputProjects, IDictionary <string, List <string> > containedFiles, DateTime triggeredTime, string outputFolder, IList <string> fileRelativePaths, bool shouldSkipMarkup)
        {
            var       key          = TypeForwardedToStringExtension.GetNormalizedFullPathKey(inputProjects);
            DateTime  completeTime = DateTime.UtcNow;
            BuildInfo info         = new BuildInfo
            {
                InputFilesKey       = key,
                ContainedFiles      = containedFiles,
                TriggeredUtcTime    = triggeredTime,
                CompleteUtcTime     = completeTime,
                OutputFolder        = TypeForwardedToStringExtension.ToNormalizedFullPath(outputFolder),
                RelatvieOutputFiles = TypeForwardedToStringExtension.GetNormalizedPathList(fileRelativePaths),
                BuildAssembly       = AssemblyName,
                ShouldSkipMarkup    = shouldSkipMarkup
            };

            this.SaveConfig(key, info);
        }