public TypedStreamCollection<RoomInfo> GetRoomInfoCollection()
{
IStreamCollection value;
var results = _collectionDatabase.TryGetCollection("rocketchat_room", out value);
if (!results)
{
return null;
}
var typedCollection = new TypedStreamCollection<RoomInfo>(value);
return typedCollection;
}