Skip to content

Instantly share code, notes, and snippets.

@gerhart92
Created October 2, 2021 23:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gerhart92/b7b890aa67a742428f5cf75946356f28 to your computer and use it in GitHub Desktop.
Save gerhart92/b7b890aa67a742428f5cf75946356f28 to your computer and use it in GitHub Desktop.
namespace Feature.Serialization.Services
{
using Sitecore.Data.Items;
using Sitecore.Data.Serialization;
public interface IItemSerializationService
{
void DumpItem(Item item);
void DumpTree(Item item);
Item LoadItem(Item item, LoadOptions loadOptions);
Item LoadItemByPath(string path, LoadOptions loadOptions);
void LoadItemByPath(Item rootItem, LoadOptions loadOptions);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment