private async Task <FacebookCollection <T> > CreateNewCollectionAsync(FacebookCursor.Direction direction)
        {
            Type collectionType = GetType();
            FacebookCollection <T> collection = (FacebookCollection <T>)Activator.CreateInstance(collectionType, _fbClient, _query, _token, Cursor);
            await collection.LoadToCollectionAsync(Cursor, direction);

            return(collection);
        }
        public new async Task <AppTestUsersCollection> AfterAsync()
        {
            FacebookCollection <TestUser> collection = await base.AfterAsync();

            return((AppTestUsersCollection)collection);
        }
예제 #3
0
        public new async Task <PlacesCollection> AfterAsync()
        {
            FacebookCollection <Place> collection = await base.AfterAsync();

            return((PlacesCollection)collection);
        }