Beispiel #1
0
 internal Advert(Guid id, CatchType catchType, double price, Advertiser advertiser)
 {
     Id         = id;
     CatchType  = catchType;
     Price      = price;
     Advertiser = advertiser;
     Status     = AdvertStatus.Unknown;
 }
Beispiel #2
0
 public AdvertCreatedEvent(
     Guid id,
     CatchType catchType,
     double price,
     Advertiser advertiser,
     string pitch,
     FishingMethod fishingMethod
     ) : base(id)
 {
     CatchType     = catchType;
     Price         = price;
     Advertiser    = advertiser;
     Pitch         = pitch;
     FishingMethod = fishingMethod;
 }
Beispiel #3
0
 public AdvertUpdatedEvent(
     Guid id,
     CatchType catchType,
     double price,
     Advertiser advertiser,
     string pitch,
     FishingMethod fishingMethod,
     AdvertStatus status
     ) : base(id)
 {
     CatchType     = catchType;
     Price         = price;
     Advertiser    = advertiser;
     Pitch         = pitch;
     FishingMethod = fishingMethod;
     Status        = status;
 }