internal void OnBeforeCreate(InternalEntity pollVote)
        {
            var handlers = Get <PollVoteBeforeCreateEventHandler>(BeforeCreateEvent);

            if (handlers != null)
            {
                var args = new PollVoteBeforeCreateEventArgs(pollVote);
                handlers(args);
            }
        }
Esempio n. 2
0
 internal void OnBeforeCreate(InternalEntity pollVote)
 {
     var handlers = Get<PollVoteBeforeCreateEventHandler>(BeforeCreateEvent);
     if (handlers != null)
     {
         var args = new PollVoteBeforeCreateEventArgs(pollVote);
         handlers(args);
     }
 }