internal void OnBeforeUpdate(InternalEntity pollAnswer) { var handlers = Get <PollAnswerBeforeUpdateEventHandler>(BeforeUpdateEvent); if (handlers != null) { var args = new PollAnswerBeforeUpdateEventArgs(pollAnswer); handlers(args); } TEApi.Html.Events.OnBeforeUpdate(GetHtmlProperties(pollAnswer)); }
internal void OnBeforeUpdate(InternalEntity pollAnswer) { var handlers = Get<PollAnswerBeforeUpdateEventHandler>(BeforeUpdateEvent); if (handlers != null) { var args = new PollAnswerBeforeUpdateEventArgs(pollAnswer); handlers(args); } TEApi.Html.Events.OnBeforeUpdate(GetHtmlProperties(pollAnswer)); }