Class PackagesConfig
public static class PackagesConfig
- Inheritance
-
PackagesConfig
- Inherited Members
Fields
IdAttributeName
public static readonly string IdAttributeName
Field Value
MinClientAttributeName
public static readonly string MinClientAttributeName
Field Value
PackageNodeName
public static readonly string PackageNodeName
Field Value
PackagesNodeName
public static readonly string PackagesNodeName
Field Value
RequireInstallAttributeName
public static readonly string RequireInstallAttributeName
Field Value
TargetFrameworkAttributeName
public static readonly string TargetFrameworkAttributeName
Field Value
UserInstalledAttributeName
public static readonly string UserInstalledAttributeName
Field Value
VersionAttributeName
public static readonly string VersionAttributeName
Field Value
allowedVersionsAttributeName
public static readonly string allowedVersionsAttributeName
Field Value
developmentDependencyAttributeName
public static readonly string developmentDependencyAttributeName
Field Value
Methods
BoolAttribute(XElement, string, bool)
Get a boolean attribute value, or false if it does not exist
public static bool BoolAttribute(XElement node, string name, bool defaultValue = false)
Parameters
Returns
HasAttributeValue(XElement, string, string, out XElement)
Determine if the package node has the attribute value as the targetValue.
public static bool HasAttributeValue(XElement node, string attributeName, string targetValue, out XElement element)
Parameters
Returns
TryGetAttribute(XElement, string, out string)
public static bool TryGetAttribute(XElement node, string name, out string value)