C# Class Ploeh.Samples.Booking.DomainModel.MakeReservationCommand

Mostra file Open project: ploeh/CQRSonAzureDemo Class Usage Examples

Public Methods

Method Description
Accept ( ) : ReservationAcceptedEvent
MakeReservationCommand ( System.DateTime date, string name, string email, int quantity ) : System
Reject ( ) : ReservationRejectedEvent

Method Details

Accept() public method

public Accept ( ) : ReservationAcceptedEvent
return ReservationAcceptedEvent

MakeReservationCommand() public method

public MakeReservationCommand ( System.DateTime date, string name, string email, int quantity ) : System
date System.DateTime
name string
email string
quantity int
return System

Reject() public method

public Reject ( ) : ReservationRejectedEvent
return ReservationRejectedEvent