Class PackageDefinitionXmlParser
Converts a PackageDefinition to and from XML
Inheritance
System.Object
Namespace: Umbraco.Cms.Core.Packaging
Assembly: Umbraco.Core.dll
Syntax
public class PackageDefinitionXmlParser
Methods
View SourceToPackageDefinition(XElement)
Declaration
public PackageDefinition ToPackageDefinition(XElement xml)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.Linq.XElement | xml |
Returns
Type | Description |
---|---|
PackageDefinition |
ToXml(PackageDefinition)
Declaration
public XElement ToXml(PackageDefinition def)
Parameters
Type | Name | Description |
---|---|---|
PackageDefinition | def |
Returns
Type | Description |
---|---|
System.Xml.Linq.XElement |