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