BaconographyWP8.Converters.PortableAsyncCollectionConverter.PortableAsyncCollectionWrapper.PortableAsyncCollectionWrapper C# (CSharp) Method

PortableAsyncCollectionWrapper() public method

public PortableAsyncCollectionWrapper ( PortableISupportIncrementalLoad collection ) : BaconographyPortable.Common
collection PortableISupportIncrementalLoad
return BaconographyPortable.Common
            public PortableAsyncCollectionWrapper(PortableISupportIncrementalLoad collection)
            {
                _collection = collection;
                if(collection.HasMoreItems && collection.Count == 0)
                    _collection.LoadMoreItemsAsync(30).ConfigureAwait(true);
                //Task.Run(() => _collection.LoadMoreItemsAsync(30));
            }