11 references to AsArray
System.ComponentModel.Composition (11)
Microsoft\Internal\Collections\CollectionServices.cs (1)
63
return Array.AsReadOnly(source.
AsArray
());
System\ComponentModel\Composition\Hosting\AggregateExportProvider.cs (1)
83
: this(providers?.
AsArray
())
System\ComponentModel\Composition\Hosting\ComposablePartCatalogChangeEventArgs.cs (2)
47
_addedDefinitions = addedDefinitions.
AsArray
();
48
_removedDefinitions = removedDefinitions.
AsArray
();
System\ComponentModel\Composition\Hosting\ExportsChangeEventArgs.cs (2)
50
_addedExports = addedExports.
AsArray
();
51
_removedExports = removedExports.
AsArray
();
System\ComponentModel\Composition\Hosting\ImportEngine.cs (3)
470
exports = exportsResult.Value.
AsArray
();
582
var exports = exportsResult.Value.
AsArray
();
745
exports = provider.GetExports(definition, atomicComposition).
AsArray
();
System\ComponentModel\Composition\ReflectionModel\ReflectionComposablePart.cs (1)
202
Export[] exportsAsArray = exports.
AsArray
();
System\ComponentModel\Composition\ReflectionModel\ReflectionComposablePartDefinition.cs (1)
283
object[] genericParametersAsArray = genericParameters.
AsArray
();