1 override of ContractName
System.ComponentModel.Composition (1)
System\ComponentModel\Composition\Hosting\ImportSourceImportDefinitionHelpers.cs (1)
41public override string ContractName
17 references to ContractName
System.ComponentModel.Composition (17)
System\ComponentModel\Composition\Hosting\CatalogExportProvider.ScopeManager.cs (1)
100productImportDefinition.ContractName,
System\ComponentModel\Composition\Hosting\ImportEngine.PartManager.cs (1)
68return _importedContractNames ??= Part.ImportDefinitions.Select(import => import.ContractName ?? ImportDefinition.EmptyContractName).Distinct().ToArray();
System\ComponentModel\Composition\Hosting\ImportSourceImportDefinitionHelpers.cs (1)
43get { return _sourceDefinition.ContractName; }
System\ComponentModel\Composition\Hosting\ScopingExtensions.cs (2)
49if (StringComparers.ContractName.Equals(contractName, import.ContractName)) 74if (StringComparers.ContractName.Equals(contractName, import.ContractName) && (import.Cardinality == importCardinality))
System\ComponentModel\Composition\Hosting\TypeCatalog.cs (1)
291string 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); 299if (!StringComparers.ContractName.Equals(ContractName, exportDefinition.ContractName)) 364sb.Append("\n\tContractName\t").Append(ContractName);
System\ComponentModel\Composition\Primitives\PrimitivesServices.cs (2)
32string contractName = import.ContractName; 84string contractName = GenericServices.GetGenericName(contractBasedImport.ContractName, importParametersOrder, partArity);
System\ComponentModel\Composition\ReflectionModel\GenericSpecializationPartCreationInfo.cs (2)
292string contractName = Translate(productImport.ContractName); 446metadata[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)
45return $"{parameter.Member.GetDisplayName()} (Parameter=\"{parameter.Name}\", ContractName=\"{ContractName}\")"; // NOLOC