protected override void Parse(Pack pack) { switch (_mode) { case StabilityParseMode.ParseData: ParseData(pack); break; case StabilityParseMode.ParseCmd: ParseCmd(pack); break; } if (ParseDone != null) { ParseDone.Invoke(this, null);//BeginInvoke(this, null, null, null); } }
protected virtual void OnParseDone() { ParseDone?.Invoke(this, new ParseDoneEventArgs()); }