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

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