public static UserNestedCollectionsRequestBuilder GetBuilder(RequestManager rm, out IEnumerable <User> results)
        {
            var ra = new ResultAggregator <User>(rm.GetCancellationToken());

            results = ra;
            return(new UserNestedCollectionsRequestBuilder(rm, ra));
        }
Exemplo n.º 2
0
 internal GraphRequestBuilder(ResultAggregator <TResult> ra, Func <BaseResponseHandler <TResult> > handleCreator) : base(dummyAuthProvider, new DummyHttpProvider())
 {
     ((DummyHttpProvider)this.HttpProvider).RequestCaptured += this.DummyHttpProvider_RequestCaptured;
     this.resultAggregator = ra;
     this.createHandler    = handleCreator;
 }
 internal NestedRequestBuilder(RequestManager rm, ResultAggregator <TParentEntity> ra)
 {
     this.requestManager   = rm;
     this.resultAggregator = ra;
 }
 private UserNestedCollectionsRequestBuilder(RequestManager rm, ResultAggregator <User> ra) : base(rm, ra)
 {
 }
 private GroupNestedCollectionsRequestBuilder(RequestManager rm, ResultAggregator <Group> ra) : base(rm, ra)
 {
 }