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 class SetNewReferencesParameters<T> : ISetNewReferencesParameters<T>
{
public Database Database { get; set; }
public Item NewItem { get; set; }
public Item OldItem { get; set; }
public LayoutField NewLayout { get; set; }
public LayoutDefinition NewLayoutDefinition { get; set; }
public IEnumerable<IOldDatasourceItem> OldDatasources { get; set; }
public IEnumerable<T> SourceList { get; set; }
public Func<T, string> GetIdValue { get; set; }
public Action<T, string> SetIdValue { get; set; }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment