Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
namespace Sitecore.ExperienceForms.Processing.Actions
{
public abstract class SubmitActionBase<TParametersData> : ISubmitAction
{
protected SubmitActionBase(ISubmitActionData submitActionData);
protected virtual ILogger Logger { get; }
protected ISubmitActionData SubmitActionData { get; }
public virtual void ExecuteAction(FormSubmitContext formSubmitContext, string parameters);
protected abstract bool Execute(TParametersData data, FormSubmitContext formSubmitContext);
protected virtual bool TryParse(string value, out TParametersData target);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment