C# Class Sitecore.SharedSource.Commons.Utilities.SerializationUtil

Utility methods for serializing Sitecore objects to disk
Afficher le fichier Open project: Velir/Sitecore-Commons

Méthodes publiques

Méthode Description
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.

Method Details

SerializeItem() public static méthode

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.
Résultat void

SerializeItemList() public static méthode

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.
Résultat void

SerializeItemsOfTemplate() public static méthode

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.
Résultat void