예제 #1
0
 public void TriggerActionStart(Regulator.SDK.RegexActionTypes action)
 {
     if (ActionStarted != null)
     {
         ActionStarted(this, action);
     }
 }
예제 #2
0
        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;
            }
        }
예제 #3
0
 protected override void OnProjectActionStarted(Regulator.SDK.RegexProject sender, Regulator.SDK.RegexActionTypes action)
 {
     base.OnProjectActionStarted(sender, action);
 }