mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-09-19 18:27:55 +08:00
Removing residual file IdentifyDependenciesContext.cs from Orchard.ContentManagement.Handlers
This commit is contained in:
@@ -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));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
Reference in New Issue
Block a user