コード例 #1
0
 private void UpdateStatus()
 {
     if (Status != RoomStatus.Closed && !RoomParticipants.Any() && !RoomEndpoints.Any() && IsCloseableRoom())
     {
         Status = RoomStatus.Closed;
     }
 }
コード例 #2
0
 public bool DoesParticipantExist(RoomParticipant participant)
 {
     return(RoomParticipants.Any(x => x.ParticipantId == participant.ParticipantId));
 }