C# Class AirTNG.Web.Domain.Reservations.Notifier

Inheritance: INotifier
Mostrar archivo Open project: TwilioDevEd/airtng-csharp Class Usage Examples

Public Methods

Method Description
Notifier ( ) : System
Notifier ( TwilioRestClient client, IReservationsRepository repository ) : System
SendNotificationAsync ( Reservation reservation ) : Task

Private Methods

Method Description
BuildNotification ( Reservation reservation ) : Notification

Method Details

Notifier() public method

public Notifier ( ) : System
return System

Notifier() public method

public Notifier ( TwilioRestClient client, IReservationsRepository repository ) : System
client Twilio.TwilioRestClient
repository IReservationsRepository
return System

SendNotificationAsync() public method

public SendNotificationAsync ( Reservation reservation ) : Task
reservation AirTNG.Web.Models.Reservation
return Task