1
Vote

VS2010 Conversion issue

description

In the FederatedWebClientExtensions.cs the SetAccessToken should be:
 
public static void SetAccessToken(this DataServiceContext context, string token, string type, string headerName)
    {
        context.SendingRequest += (s, e) =>
        {
            e.Request.Headers[headerName] = GetHeader(token, type);
        };
    }
 
Thank you for making this available; I am looking forward to studying it.

comments