1 write to Name
System.ComponentModel.Composition (1)
System\ComponentModel\Composition\ExportMetadataAttribute.cs (1)
29
Name
= name ?? string.Empty;
5 references to Name
System.ComponentModel.Composition (5)
System\ComponentModel\Composition\ExportMetadataAttribute.cs (1)
20
/// <see langword="null"/> to set the <see cref="
Name
"/> property to an empty
System\ComponentModel\Composition\Hosting\CompositionServices.cs (4)
267
if (reservedMetadataNames.Contains(provider.
Name
, StringComparers.MetadataKeyNames))
269
throw ExceptionBuilder.CreateDiscoveryException(SR.Discovery_ReservedMetadataNameUsed, member.GetDisplayName(), provider.
Name
);
274
if (!dictionary.TryContributeMetadataValue(provider.
Name
, provider.Value, null, provider.IsMultiple))
276
throw ExceptionBuilder.CreateDiscoveryException(SR.Discovery_DuplicateMetadataNameValues, member.GetDisplayName(), provider.
Name
);