コード例 #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, Action <CCPAPIResult <T> > callback)
        {
            provider.ThrowIfNull(nameof(provider));

            provider.QueryMethodAsync(Method, m_apiKey.ID, m_apiKey.VerificationCode, m_character.CharacterID, callback);
        }
コード例 #2
0
ファイル: QueryMonitor.cs プロジェクト: henrikja/EVEMon
        /// <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, Action <CCPAPIResult <T> > callback)
        {
            provider.ThrowIfNull(nameof(provider));

            provider.QueryMethodAsync(Method, callback);
        }