public class NewAction: IEplAction { public bool Execute(ActionCallingContext ctx) { // Add your code here 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; }
| Name | Description | |
|---|---|---|
![]() | Execute | Called by the framework when the action is to be performed. |
![]() | OnRegister | The action can be registered under a name determined by the action and an overload level. |