Deprecated CustomStepsStep.

This commit is contained in:
Sipke Schoorstra
2015-07-17 15:16:24 +01:00
parent 3e745c38ee
commit 7d49c36ba3

View File

@@ -1,4 +1,5 @@
using System.Collections.Generic; using System;
using System.Collections.Generic;
using System.Linq; using System.Linq;
using Orchard.ContentManagement; using Orchard.ContentManagement;
using Orchard.ImportExport.Models; using Orchard.ImportExport.Models;
@@ -8,6 +9,7 @@ using Orchard.Localization;
using Orchard.Recipes.Services; using Orchard.Recipes.Services;
namespace Orchard.ImportExport.Recipes.Builders { namespace Orchard.ImportExport.Recipes.Builders {
[Obsolete("Implement IRecipeBuilderStep and IRecipeExecutionStep instead of implementing custom export steps.")]
public class CustomStepsStep : RecipeBuilderStep { public class CustomStepsStep : RecipeBuilderStep {
private readonly IEnumerable<IExportEventHandler> _exportEventHandlers; private readonly IEnumerable<IExportEventHandler> _exportEventHandlers;
private readonly ICustomExportStep _customExportStep; private readonly ICustomExportStep _customExportStep;