예제 #1
0
 protected List<string> GetFiles(List<InputFile> fileArguments)
 {
     var files = new List<string>();
     var fileResolverCollection = new FileResolverCollection();
     foreach (InputFile file in fileArguments)
     {
         files.AddRange(fileResolverCollection.Resolve(file.FilePath, file.FileType));
     }
     return files;
 }
예제 #2
0
 protected string ResolveAppRelativePathToFileSystem(string file)
 {
     var fileResolverCollection = new FileResolverCollection();
     return fileResolverCollection.Resolve(file, AppRelativePathResolver.Type).FirstOrDefault();
 }