10 references to Shared
System.ComponentModel.Composition (10)
System\ComponentModel\Composition\CreationPolicy.cs (1)
15/// the <see cref="Hosting.CompositionContainer"/> choosing <see cref="CreationPolicy.Shared"/> by default
System\ComponentModel\Composition\Hosting\CatalogExportProvider.CatalogExport.cs (3)
91importPolicy == CreationPolicy.Shared) 100if (importPolicy == CreationPolicy.Shared) 109if (partPolicy != CreationPolicy.Shared || importPolicy == CreationPolicy.NonShared)
System\ComponentModel\Composition\Hosting\CompositionContainer.cs (2)
387/// was constructed under a <see cref="CreationPolicy.Shared" /> context the 416/// was constructed under a <see cref="CreationPolicy.Shared" /> context the
System\ComponentModel\Composition\ImportAttribute.cs (1)
158/// <see cref="CreationPolicy.Shared"/> - Requires that all exports used should be shared
System\ComponentModel\Composition\ImportManyAttribute.cs (1)
136/// <see cref="CreationPolicy.Shared"/> - Requires that all exports used should be shared
System\ComponentModel\Composition\PartCreationPolicyAttribute.cs (1)
13internal static readonly PartCreationPolicyAttribute Shared = new PartCreationPolicyAttribute(CreationPolicy.Shared);
System\ComponentModel\Composition\Primitives\ContractBasedImportDefinition.cs (1)
244/// <see cref="CreationPolicy.Shared"/> - Requires that all exports used should be shared