mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
Deprecated ICustomExportStep.
This commit is contained in:
@@ -1,7 +1,9 @@
|
|||||||
using System.Collections.Generic;
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
using Orchard.Events;
|
using Orchard.Events;
|
||||||
|
|
||||||
namespace Orchard.ImportExport.Services {
|
namespace Orchard.ImportExport.Services {
|
||||||
|
[Obsolete("Implement IRecipeBuilderStep instead.")]
|
||||||
public interface ICustomExportStep : IEventHandler {
|
public interface ICustomExportStep : IEventHandler {
|
||||||
void Register(IList<string> steps);
|
void Register(IList<string> steps);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
using Orchard.Events;
|
using System;
|
||||||
|
using Orchard.Events;
|
||||||
|
|
||||||
namespace Orchard.ImportExport.Services {
|
namespace Orchard.ImportExport.Services {
|
||||||
|
[Obsolete("Implement IRecipeExecutionStep instead.")]
|
||||||
public interface IExportEventHandler : IEventHandler {
|
public interface IExportEventHandler : IEventHandler {
|
||||||
void Exporting(ExportContext context);
|
void Exporting(ExportContext context);
|
||||||
void Exported(ExportContext context);
|
void Exported(ExportContext context);
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ namespace Orchard.ImportExport.Services {
|
|||||||
private readonly IOrchardServices _orchardServices;
|
private readonly IOrchardServices _orchardServices;
|
||||||
private readonly IAppDataFolder _appDataFolder;
|
private readonly IAppDataFolder _appDataFolder;
|
||||||
private readonly IRecipeBuilder _recipeBuilder;
|
private readonly IRecipeBuilder _recipeBuilder;
|
||||||
private IRecipeParser _recipeParser;
|
private readonly IRecipeParser _recipeParser;
|
||||||
private readonly IRecipeExecutor _recipeExecutor;
|
private readonly IRecipeExecutor _recipeExecutor;
|
||||||
private readonly IClock _clock;
|
private readonly IClock _clock;
|
||||||
private const string ExportsDirectory = "Exports";
|
private const string ExportsDirectory = "Exports";
|
||||||
|
|||||||
Reference in New Issue
Block a user