Oliver

Results 9 comments of Oliver

Calling `client.Me.MailFolders["SentItems"].GetAsync()` just returns information about the folder itself. The property `messages` is not filled by default. Either call the messages explicit (preferred, cause otherwise you can't iterate through the...

After further investigation about the authentication issue I found the reason, why _our_ graph client adds the auth token to the request. In this special case we create the instance...

Currently I'm using this approach. First a helper method for the request adapter: ```csharp public static class RequestAdapterMockFactory { public static Mock Create(MockBehavior mockBehavior = MockBehavior.Strict) { var mockSerializationWriterFactory =...

The `format` parameter is only needed, if you like to download a file in a specific format, that maybe differs from the original format. If you don't set this parameter...

> > ```cs > > RequestAdapterMock.Setup(m => m.SendAsync( > > It.Is(information => information.HttpMethod == Method.GET > > && information.UrlTemplate.Contains("/users/") > > && information.PathParameters.Values.Contains(user.Id)), > > ``` > > Using Moq,...

I'm currently also stuck on mocking batch requests. So far I already made some effort, but unfortunately I'm still not up with a working solution. Here is my progress so...

Okay, you got me. I couldn't test it on my machine, cause a bunch of dependency DLLs are missing (especially Microsoft.TeamFoundation.Controls, Microsoft.TeamFoundation.Client, Microsoft.TeamFoundation.Git.Provider). Due to the fact that I have...

The problem is, that I have installed VS 2017 (15.x) only. This also uses the folder `C:\Program Files (x86)\Microsoft Visual Studio 14.0`, but the subfolder `Common7\IDE\CommonExtensions\Microsoft\TeamFoundation` is missing. So by...

The drawback of catching `ApiException` would be that we can't easily access the error details from the `MainError Error` property. At several places we are able to handle specific error...