Esempio n. 1
0
 private void When(CalendarCreated e)
 {
     _tenant      = e.Tenant;
     _calendarId  = e.CalendarId;
     _name        = e.Name;
     _description = e.Description;
     _sharedWith  = new HashSet <CalendarSharer>(e.SharedWith ?? Enumerable.Empty <CalendarSharer>());
 }
Esempio n. 2
0
 void When(CalendarCreated e)
 {
     this.tenant      = e.Tenant;
     this.calendarId  = e.CalendarId;
     this.name        = e.Name;
     this.description = e.Description;
     this.sharedWith  = new HashSet <CalendarSharer>(e.SharedWith ?? Enumerable.Empty <CalendarSharer>());
 }
Esempio n. 3
0
 void When(CalendarCreated e)
 {
     this.tenant = e.Tenant;
     this.calendarId = e.CalendarId;
     this.name = e.Name;
     this.description = e.Description;
     this.sharedWith = new HashSet<CalendarSharer>(e.SharedWith ?? Enumerable.Empty<CalendarSharer>());
 }