Exemplo n.º 1
0
 internal Advert(Guid id, CatchType catchType, double price, Advertiser advertiser)
 {
     Id         = id;
     CatchType  = catchType;
     Price      = price;
     Advertiser = advertiser;
     Status     = AdvertStatus.Unknown;
 }
Exemplo n.º 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;
 }
Exemplo n.º 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;
 }