Beispiel #1
0
 private void UpdateStatus()
 {
     if (Status != RoomStatus.Closed && !RoomParticipants.Any() && !RoomEndpoints.Any() && IsCloseableRoom())
     {
         Status = RoomStatus.Closed;
     }
 }
Beispiel #2
0
 public bool DoesEndpointExist(RoomEndpoint endpoint)
 {
     return(RoomEndpoints.Any(x => x.EndpointId == endpoint.EndpointId));
 }