public RoomSearchResult(Room room) { Room = room; BookingCandidates = new List<BookingCandidate>(); }
/// <summary> /// Creates a new instance of UsageReport and calculates the metrics. /// </summary> public UsageReport(Room room, DateTime startDate, DateTime endDate) { Room = room; StartDate = startDate; EndDate = endDate; ComputeMetrics(); }