1 override of ContractName
System.ComponentModel.Composition (1)
System\ComponentModel\Composition\Hosting\ImportSourceImportDefinitionHelpers.cs (1)
41
public override string
ContractName
17 references to ContractName
System.ComponentModel.Composition (17)
System\ComponentModel\Composition\Hosting\CatalogExportProvider.ScopeManager.cs (1)
100
productImportDefinition.
ContractName
,
System\ComponentModel\Composition\Hosting\ImportEngine.PartManager.cs (1)
68
return _importedContractNames ??= Part.ImportDefinitions.Select(import => import.
ContractName
?? ImportDefinition.EmptyContractName).Distinct().ToArray();
System\ComponentModel\Composition\Hosting\ImportSourceImportDefinitionHelpers.cs (1)
43
get { return _sourceDefinition.
ContractName
; }
System\ComponentModel\Composition\Hosting\ScopingExtensions.cs (2)
49
if (StringComparers.ContractName.Equals(contractName, import.
ContractName
))
74
if (StringComparers.ContractName.Equals(contractName, import.
ContractName
) && (import.Cardinality == importCardinality))
System\ComponentModel\Composition\Hosting\TypeCatalog.cs (1)
291
string contractName = definition.
ContractName
;
System\ComponentModel\Composition\Primitives\ContractBasedImportDefinition.cs (5)
36
/// <see cref="ImportDefinition.
ContractName
"/>, <see cref="RequiredTypeIdentity"/>,
267
/// <see cref="ImportDefinition.
ContractName
"/>, <see cref="RequiredTypeIdentity"/>,
273
_constraint ??= ConstraintServices.CreateConstraint(
ContractName
, RequiredTypeIdentity, RequiredMetadata, RequiredCreationPolicy);
299
if (!StringComparers.ContractName.Equals(
ContractName
, exportDefinition.ContractName))
364
sb.Append("\n\tContractName\t").Append(
ContractName
);
System\ComponentModel\Composition\Primitives\PrimitivesServices.cs (2)
32
string contractName = import.
ContractName
;
84
string contractName = GenericServices.GetGenericName(contractBasedImport.
ContractName
, importParametersOrder, partArity);
System\ComponentModel\Composition\ReflectionModel\GenericSpecializationPartCreationInfo.cs (2)
292
string contractName = Translate(productImport.
ContractName
);
446
metadata[CompositionConstants.GenericContractMetadataName] = GenericServices.GetGenericName(originalImport.
ContractName
, importParametersOrder, _specialization.Length);
System\ComponentModel\Composition\ReflectionModel\ReflectionMemberImportDefinition.cs (1)
44
$"{ImportingLazyMember.ToReflectionMember().GetDisplayName()} (ContractName=\"{
ContractName
}\")"; // NOLOC
System\ComponentModel\Composition\ReflectionModel\ReflectionParameterImportDefinition.cs (1)
45
return $"{parameter.Member.GetDisplayName()} (Parameter=\"{parameter.Name}\", ContractName=\"{
ContractName
}\")"; // NOLOC