/// <summary> /// Raises the <see cref="DocumentParsed"/> event. /// </summary> /// <param name="args">The event arguments.</param> private void RaiseDocumentParsed(UvssTextParserEventArgs args) { DocumentParsed?.Invoke(this, args); }
/// <summary> /// Обработчик добавления документа. /// </summary> /// <param name="s">Отправитель</param> /// <param name="doc">Обработанный документ</param> protected virtual void OnDocumentParsed(object s, NormativeDocument doc) { DocumentParsed?.Invoke(s, new NormativeDocumentEventArgs(doc, _count)); }
protected virtual void OnDocumentParsed(Document document) { DocumentParsed?.Invoke(this, new DocumentEventArgs(document)); }