public override void ExecuteSplit() { string[] result = getRegex().Split(InputText); foreach (IRegexView view in m_views) { NSplitEventArgs args = new NSplitEventArgs(); args.Results = result; view.OnSplit(args); } }
public override void ExecuteSplit() { string[] result = getRegex().Split(InputText); foreach (IRegexView view in m_views) { NSplitEventArgs args = new NSplitEventArgs(); args.Results = result; view.OnSplit(args); } }
public bool Eval(object val) { if (val == null) { return(false); } NSplitEventArgs args = ((NSplitEventArgs)val); if (args.Results == null) { return(false); } return(args.Results.Length == ArrayCount); }