Beispiel #1
0
        /// <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.QueryEsiAsync(Method, m_apiKey.AccessToken, m_character.CorporationID,
                                   callback);
        }
Beispiel #2
0
        /// <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.QueryEsiAsync(Method, callback);
        }
Beispiel #3
0
        /// <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.QueryEsiAsync(Method, m_esiKey.AccessToken, 0L, callback);
        }