public void TriggerActionStart(Regulator.SDK.RegexActionTypes action) { if (ActionStarted != null) { ActionStarted(this, action); } }
public void TriggerActionEnd(Regulator.SDK.RegexActionTypes action, object result) { switch (action) { case RegexActionTypes.Match: if (MatchEnded != null) { MatchEnded(this, (MatchCollection)result); } break; case RegexActionTypes.Split: if (SplitEnded != null) { SplitEnded(this, (string[])result); } break; case RegexActionTypes.Replace: if (ReplaceEnded != null) { ReplaceEnded(this, (string)result); } break; default: ; break; } }
protected override void OnProjectActionStarted(Regulator.SDK.RegexProject sender, Regulator.SDK.RegexActionTypes action) { base.OnProjectActionStarted(sender, action); }