ImportManyAttribute.ContractName Property

Definition

Gets the contract name of the exports to import.

C#
public string ContractName { get; }

Property Value

The contract name of the exports to import. The default value is an empty string ("").

Applies to

Product Versions
.NET Core 1.1, 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Standard 2.0 (package-provided)