void OnTagParsed (TagType tagtype, string id, TagAttributes attributes) { TagParsedHandler eh = events [tagParsedEvent] as TagParsedHandler; if (eh != null) eh (this, tagtype, id, attributes); }