public class NewAction: IEplAction { public bool Execute(ActionCallingContext ctx) { // TODO: // Add code new Decider().Decide(EnumDecisionType.eOkDecision, "NewAction was invoked!", "", EnumDecisionReturn.eOK, EnumDecisionReturn.eOK); return true; } public bool OnRegister(ref string Name, ref int Ordinal) { Name = "NewAction"; Ordinal = 20; return true; } public void GetActionProperties(ref ActionProperties actionProperties) { actionProperties.Description= "Description of NewAction"; }
Name | Description | |
---|---|---|
Execute | Called by the framework when the action is to be performed. | |
GetActionProperties | Returns descriptive data for the action. For documentation purposes only. | |
OnRegister | The action can be registered under a name determined by the action and an overload level. |