C# Class NuGet.ManifestMetadata

Inheritance: IPackageMetadata, IValidatableObject
显示文件 Open project: NuGetPackageExplorer/NuGetPackageExplorer Class Usage Examples

Private Properties

Property Type Description
CreatePackageDependencySet NuGet.PackageDependencySet
ParseFrameworkNames IEnumerable

Public Methods

Method Description
ShouldSerializeDevelopmentDependency ( ) : bool
ShouldSerializeOwners ( ) : bool
ShouldSerializeServiceable ( ) : bool

Serialize Serviceable? Only if Serviceable is true, because older NuGet servers couldn't handle the serviceable attribute

ShouldSerializeTitle ( ) : bool
Validate ( System.ComponentModel.DataAnnotations.ValidationContext validationContext ) : IEnumerable

Private Methods

Method Description
CreatePackageDependencySet ( NuGet.ManifestDependencySet manifestDependencySet ) : NuGet.PackageDependencySet
ParseFrameworkNames ( string frameworkNames ) : IEnumerable

Method Details

ShouldSerializeDevelopmentDependency() public method

public ShouldSerializeDevelopmentDependency ( ) : bool
return bool

ShouldSerializeOwners() public method

public ShouldSerializeOwners ( ) : bool
return bool

ShouldSerializeServiceable() public method

Serialize Serviceable? Only if Serviceable is true, because older NuGet servers couldn't handle the serviceable attribute
public ShouldSerializeServiceable ( ) : bool
return bool

ShouldSerializeTitle() public method

public ShouldSerializeTitle ( ) : bool
return bool

Validate() public method

public Validate ( System.ComponentModel.DataAnnotations.ValidationContext validationContext ) : IEnumerable
validationContext System.ComponentModel.DataAnnotations.ValidationContext
return IEnumerable