internal void OnBeforeUpdate(InternalEntity pollVote) { var handlers = Get <PollVoteBeforeUpdateEventHandler>(BeforeUpdateEvent); if (handlers != null) { var args = new PollVoteBeforeUpdateEventArgs(pollVote); handlers(args); } }
internal void OnBeforeUpdate(InternalEntity pollVote) { var handlers = Get<PollVoteBeforeUpdateEventHandler>(BeforeUpdateEvent); if (handlers != null) { var args = new PollVoteBeforeUpdateEventArgs(pollVote); handlers(args); } }