public IXboxMusicClient CreateUserAuthenticatedClient(IXToken xToken)
 {
     if (xToken == null)
     {
         throw new ArgumentNullException("xToken", "User authentication should be provided.");
     }
     return(new XboxMusicClient(azureDataMarketAuthenticationCache, xToken));
 }
 private XboxMusicClient(AzureDataMarketAuthenticationCache azureDataMarketAuthenticationCache, IXToken xToken = null)
 {
     this.azureDataMarketAuthenticationCache = azureDataMarketAuthenticationCache;
     this.xToken = xToken;
 }