Skip to content

Instantly share code, notes, and snippets.

@trnktms
Created February 15, 2018 10:09
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 trnktms/8fc9f6c5b87922c1d1266e9f4b4f8042 to your computer and use it in GitHub Desktop.
Save trnktms/8fc9f6c5b87922c1d1266e9f4b4f8042 to your computer and use it in GitHub Desktop.
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