/// <summary> /// Performs the query to the provider, passing the required arguments. /// </summary> /// <param name="provider">The API provider to use.</param> /// <param name="callback">The callback invoked on the UI thread after a result has /// been queried.</param> /// <exception cref="System.ArgumentNullException">provider</exception> protected virtual void QueryAsyncCore(APIProvider provider, APIProvider. ESIRequestCallback <T> callback) { provider.ThrowIfNull(nameof(provider)); provider.QueryEsi(Method, callback, new ESIParams(LastResult?.Response)); }
/// <summary> /// Performs the query to the provider, passing the required arguments. /// </summary> /// <param name="provider">The API provider to use.</param> /// <param name="callback">The callback invoked on the UI thread after a result has /// been queried.</param> /// <exception cref="System.ArgumentNullException">provider</exception> protected override void QueryAsyncCore(APIProvider provider, APIProvider. ESIRequestCallback <T> callback) { provider.ThrowIfNull(nameof(provider)); provider.QueryEsi(Method, callback, GetESIParams()); }
/// <summary> /// Performs the query to the provider, passing the required arguments. /// </summary> /// <param name="provider">The API provider to use.</param> /// <param name="callback">The callback invoked on the UI thread after a result has /// been queried.</param> /// <exception cref="System.ArgumentNullException">provider</exception> protected override void QueryAsyncCore(APIProvider provider, APIProvider. ESIRequestCallback <T> callback) { provider.ThrowIfNull(nameof(provider)); provider.QueryEsi(Method, callback, new ESIParams(m_lastResponse, m_esiKey. AccessToken)); }