Created
May 14, 2018 12:08
-
-
Save netojoa/81485de8caa1b1587bd0615cf62b713c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class CustomAction : SubmitActionBase<string> | |
{ | |
public CustomAction(ISubmitActionData submitActionData) : base(submitActionData) | |
{ | |
} | |
protected override bool Execute(string data, FormSubmitContext formSubmitContext) | |
{ | |
// Some code here | |
return true; | |
} | |
protected override bool TryParse(string value, out string target) | |
{ | |
target = string.Empty; | |
return true; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment