C# 클래스 Umbraco.VisualStudio.Packaging

Temporary class to enable serialization and deserialization of nodes. Will only be used untill the PackagingService in Umbraco is stable/complete.
파일 보기 프로젝트 열기: umbraco/Visual-Studio-Extension 1 사용 예제들

공개 메소드들

메소드 설명
Export ( IContentType contentType ) : System.Xml.Linq.XElement

Exports an IContentType to xml as an XElement

Packaging ( Umbraco.Core.Services.ServiceContext serviceContext ) : System

비공개 메소드들

메소드 설명
AddChildXml ( IContent originalDescendants, IEnumerable currentChildren, System.Xml.Linq.XElement currentXml ) : void

Used by Content Export to recursively add children

AddChildXml ( IMedia originalDescendants, IEnumerable currentChildren, System.Xml.Linq.XElement currentXml ) : void

Used by Media Export to recursively add children

Export ( IContent content, bool deep = false ) : System.Xml.Linq.XElement

Exports an IContent item to xml as an XElement

Export ( IContentBase contentBase, string nodeName ) : System.Xml.Linq.XElement

Part of the export of IContent and IMedia which is shared

Export ( IDataTypeDefinition dataTypeDefinition ) : System.Xml.Linq.XElement
Export ( IMedia media, bool deep = false ) : System.Xml.Linq.XElement

Exports an IMedia item to xml as an XElement

Export ( IMediaType mediaType ) : System.Xml.Linq.XElement

Exports an IMediaType to xml as an XElement

ExportToFile ( string absoluteFilePath, string nodeType, int id ) : void

메소드 상세

Export() 공개 메소드

Exports an IContentType to xml as an XElement
public Export ( IContentType contentType ) : System.Xml.Linq.XElement
contentType IContentType ContentType to export
리턴 System.Xml.Linq.XElement

Packaging() 공개 메소드

public Packaging ( Umbraco.Core.Services.ServiceContext serviceContext ) : System
serviceContext Umbraco.Core.Services.ServiceContext
리턴 System