Skip to content

Instantly share code, notes, and snippets.

@netojoa
Last active May 14, 2018 12:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save netojoa/b9d44a00eb7565cc765477e217a396f0 to your computer and use it in GitHub Desktop.
Save netojoa/b9d44a00eb7565cc765477e217a396f0 to your computer and use it in GitHub Desktop.
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