1 instantiation of FileSpec
Microsoft.NET.Build.Tasks (1)
GenerateBundle.cs (1)
95fileSpec.Add(new FileSpec(sourcePath: item.ItemSpec,
23 references to FileSpec
Microsoft.NET.Build.Tasks (1)
GenerateBundle.cs (1)
91var fileSpec = new List<FileSpec>(FilesToBundle.Length);
Microsoft.NET.HostModel (22)
Bundle\BundleContents.cs (7)
16public FileSpec Host { get; } 21public IReadOnlyList<FileSpec> IncludedFiles { get; } 26public IReadOnlyList<FileSpec> ExcludedFiles { get; } 28internal (FileSpec Spec, FileType Type)[] TypedIncludedFiles { get; } 30internal BundleContents(FileSpec host, (FileSpec Spec, FileType Type)[] includedFiles, FileSpec[] excludedFiles)
Bundle\Bundler.cs (15)
204private FileType InferType(FileSpec fileSpec) 255/// Files that are excluded from the bundle have their <see cref="FileSpec.Excluded"/> flag set by this method. 264public string GenerateBundle(IReadOnlyList<FileSpec> fileSpecs) 296(FileSpec Spec, FileType Type)[] relativePathToSpec = bundleContents.TypedIncludedFiles; 362FileSpec fileSpec = kvp.Spec; 463/// Files that are excluded from the bundle have their <see cref="FileSpec.Excluded"/> flag set by this method. 469public BundleContents ComputeBundleContents(IReadOnlyList<FileSpec> fileSpecs) 476FileSpec[] hostSpecs = fileSpecs.Where(x => IsHost(x.BundleRelativePath)).ToArray(); 482FileSpec hostSpec = hostSpecs[0]; 490private ((FileSpec Spec, FileType Type)[] Included, FileSpec[] Excluded) GetFilteredFileSpecs(IEnumerable<FileSpec> fileSpecs) 495var relativePathToSpec = new Dictionary<string, (FileSpec Spec, FileType Type)>(StringComparer.Ordinal); 496var excluded = new List<FileSpec>(); 497foreach (var fileSpec in fileSpecs)