1 write to Assemblies
Microsoft.AspNetCore.Razor.Test.Common.Tooling (1)
Mef\TestComposition.cs (1)
116
Assemblies
= assemblies;
10 references to Assemblies
Microsoft.AspNetCore.Razor.Test.Common.Tooling (10)
Mef\TestComposition.cs (10)
103
/// All subtypes of types specified in <see cref="ExcludedPartTypes"/> and defined in <see cref="
Assemblies
"/> are excluded before <see cref="Parts"/> are added.
130
var key = new CacheKey(
Assemblies
, Parts, ExcludedPartTypes);
156
=> ExportProviderCache.CreateAssemblyCatalog(
Assemblies
, ExportProviderCache.CreateResolver()).WithoutPartsOfTypes(ExcludedPartTypes).WithParts(Parts);
159
=> AddAssemblies(composition.
Assemblies
).AddParts(composition.Parts).AddExcludedPartTypes(composition.ExcludedPartTypes);
165
=> WithAssemblies(
Assemblies
.Union(assemblies ?? Array.Empty<Assembly>()));
180
=> RemoveAssemblies(composition.
Assemblies
).RemoveParts(composition.Parts).RemoveExcludedPartTypes(composition.ExcludedPartTypes);
186
=> WithAssemblies(
Assemblies
.Except(assemblies ?? Array.Empty<Assembly>()));
202
if (assemblies ==
Assemblies
)
225
=> parts == Parts ? this : new TestComposition(
Assemblies
, parts, ExcludedPartTypes);
228
=> excludedPartTypes == ExcludedPartTypes ? this : new TestComposition(
Assemblies
, Parts, excludedPartTypes);