XDocumentExtensions.

GetNuspecProps(XDocument) Method

Summary

Returns the project's nuspec-relevant property values (PackageId, Title, Authors, Description, Copyright, etc.) keyed by element name.

Syntax

public static NameValueCollection GetNuspecProps(this XDocument document)

Parameters

Name Type Description
document XDocument the document

Return Value

Type Description
NameValueCollection a name-value collection of nuspec property values