Class PackageReferenceSet
public class PackageReferenceSet
- Inheritance
-
PackageReferenceSet
- Inherited Members
Constructors
PackageReferenceSet(NuGetFramework, IEnumerable<string>)
Creates a new Package Reference Set
public PackageReferenceSet(NuGetFramework targetFramework, IEnumerable<string> references)
Parameters
targetFramework
NuGetFrameworkThe target framework to use.
references
IEnumerable<string>IEnumerable set of string references
PackageReferenceSet(IEnumerable<string>)
Creates a new Package Reference Set
public PackageReferenceSet(IEnumerable<string> references)
Parameters
references
IEnumerable<string>IEnumerable set of string references
PackageReferenceSet(string, IEnumerable<string>)
Creates a new Package Reference Set
public PackageReferenceSet(string targetFramework, IEnumerable<string> references)
Parameters
targetFramework
stringThe target framework to use, pass Any for AnyFramework. Does not allow null.
references
IEnumerable<string>IEnumerable set of string references
Properties
References
public IReadOnlyCollection<string> References { get; }
Property Value
TargetFramework
public NuGetFramework TargetFramework { get; }
Property Value
- NuGetFramework
Methods
Validate()
public IEnumerable<string> Validate()