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>()); }
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>()); }
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>()); }