Inheritance: NotificationService.EventInfoBase
コード例 #1
0
        private string Describe(NewContactMessage @event)
        {
            Require.NotNull(@event, nameof(@event));

            return string.Format(EventDescriptionResources.NewContactMessage, @event.ClientName, @event.MessageTopic,
                @event.MessageBody, @event.ClientEmalAddress);
        }
コード例 #2
0
 public void SendContactMessage(NewContactMessage contactMessage)
 {
     Require.NotNull(contactMessage, nameof(contactMessage));
     _contactsEventSink.ConsumeEvent(contactMessage);
 }