C# 클래스 Sitecore.SharedSource.Commons.Utilities.SerializationUtil

Utility methods for serializing Sitecore objects to disk
파일 보기 프로젝트 열기: Velir/Sitecore-Commons

공개 메소드들

메소드 설명
SerializeItem ( string folderPath, string itemGuid, Database db ) : void

Serializes a single item to a file on disk.

SerializeItemList ( string folderPath, List items ) : void

Serializes a list of items to disk.

SerializeItemsOfTemplate ( string folderPath, string rootGuid, string templateName, Database db ) : void

Serializes the items of a specified template recursively from the passed in root down to a file on disk.

메소드 상세

SerializeItem() 공개 정적인 메소드

Serializes a single item to a file on disk.
public static SerializeItem ( string folderPath, string itemGuid, Database db ) : void
folderPath string The folder path where the serialized item will be written to.
itemGuid string The item GUID.
db Database The db.
리턴 void

SerializeItemList() 공개 정적인 메소드

Serializes a list of items to disk.
public static SerializeItemList ( string folderPath, List items ) : void
folderPath string The folder path where the serialized items will be written to.
items List The items.
리턴 void

SerializeItemsOfTemplate() 공개 정적인 메소드

Serializes the items of a specified template recursively from the passed in root down to a file on disk.
public static SerializeItemsOfTemplate ( string folderPath, string rootGuid, string templateName, Database db ) : void
folderPath string The folder path where the serialized items will be written to.
rootGuid string The root GUID.
templateName string Name of the template.
db Database The db.
리턴 void