1 write to _metadataConstraints
System.Composition.Runtime (1)
System\Composition\Hosting\Core\CompositionContract.cs (1)
52_metadataConstraints = metadataConstraints;
12 references to _metadataConstraints
System.Composition.Runtime (12)
System\Composition\Hosting\Core\CompositionContract.cs (12)
69public IEnumerable<KeyValuePair<string, object>> MetadataConstraints => _metadataConstraints; 82ConstraintEqual(_metadataConstraints, contract._metadataConstraints); 94if (_metadataConstraints != null) 95hc ^= ConstraintHashCode(_metadataConstraints); 110if (_metadataConstraints != null) 113_metadataConstraints.Select(kv => $"{kv.Key} = {Formatters.Format(kv.Value)}"))); 128return new CompositionContract(newContractType, _contractName, _metadataConstraints); 151if (_metadataConstraints == null) 154if (!_metadataConstraints.TryGetValue(constraintName, out object value)) 161if (_metadataConstraints.Count == 1) 167var remainingConstraints = new Dictionary<string, object>(_metadataConstraints);