Removing residual file IdentifyDependenciesContext.cs from Orchard.ContentManagement.Handlers

This commit is contained in:
Lombiq
2016-02-10 21:55:55 +01:00
committed by Benedek Farkas
parent 47a1dbaaa2
commit d6035f6bb0

View File

@@ -1,20 +0,0 @@
using System;
using System.Xml.Linq;
namespace Orchard.ContentManagement.Handlers {
public class IdentifyDependenciesContext {
public IdentifyDependenciesContext(XElement contentElement, ImportContentSession importContentSession) {
ContentElement = contentElement;
ImportContentSession = importContentSession;
}
public XElement ContentElement { get; set; }
private ImportContentSession ImportContentSession { get; }
public void RegisterDependency(string id) {
if(!String.IsNullOrWhiteSpace(id))
ImportContentSession.RegisterDependency(new ContentIdentity(id));
}
}
}