Rocket.Chat.Net.Driver.RocketChatDriver.GetRoomsCollection C# (CSharp) Метод

GetRoomsCollection() приватный Метод

private GetRoomsCollection ( ) : TypedStreamCollection
Результат TypedStreamCollection
        public TypedStreamCollection<Room> GetRoomsCollection()
        {
            IStreamCollection value;
            var results = _collectionDatabase.TryGetCollection("rocketchat_subscription", out value);
            if (!results)
            {
                return null;
            }

            var typedCollection = new TypedStreamCollection<Room>(value);
            return typedCollection;
        }