C# Класс Sitecore.SharedSource.Commons.Utilities.SerializationUtil

Utility methods for serializing Sitecore objects to disk
Показать файл Открыть проект

Открытые методы

Метод Описание
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