5 references to Contract
System.Composition.TypedParts (5)
System\Composition\CompositionContextExtensions.cs (1)
69
if (exportProvider.TryGetExport(importInfo.
Contract
, out value))
System\Composition\TypedParts\ActivationFeatures\PropertyInjectionFeature.cs (2)
46
result.Add(definitionAccessor.ResolveRequiredDependency(i.Site, i.ImportInfo.
Contract
, false));
51
if (definitionAccessor.TryResolveOptionalDependency(i.Site, i.ImportInfo.
Contract
, false, out optional))
System\Composition\TypedParts\Discovery\DiscoveredPart.cs (2)
125
yield return definitionAccessor.ResolveRequiredDependency(site, importInfo.
Contract
, true);
130
if (definitionAccessor.TryResolveOptionalDependency(site, importInfo.
Contract
, true, out optional))