Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
namespace Helix.Skeleton.Foundation.EditorExtensions.Models.CopyPage
{
using System;
using System.Collections.Generic;
using Sitecore.Data;
using Sitecore.Data.Fields;
using Sitecore.Data.Items;
using Sitecore.Layouts;
public interface ISetNewReferencesParameters<T>
{
Database Database { get; set; }
Item NewItem { get; set; }
Item OldItem { get; set; }
LayoutField NewLayout { get; set; }
LayoutDefinition NewLayoutDefinition { get; set; }
IEnumerable<IOldDatasourceItem> OldDatasources { get; set; }
IEnumerable<T> SourceList { get; set; }
Func<T, string> GetIdValue { get; set; }
Action<T, string> SetIdValue { get; set; }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment