Skip to content

Instantly share code, notes, and snippets.

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