예제 #1
0
        /// <summary>
        /// Check keyword
        /// </summary>
        /// <param name="account">Sms account</param>
        /// <param name="checkKeywordOptions">Check keyword options</param>
        /// <returns>Return check keyword result</returns>
        public static async Task <CheckKeywordResult> CheckKeywordAsync(SmsAccount account, CheckKeywordOptions checkKeywordOptions)
        {
            var smsProvider = GetSmsProvider();

            return(await ExecuteAsync(account, checkKeywordOptions, smsProvider.CheckKeywordAsync).ConfigureAwait(false));
        }
예제 #2
0
 /// <summary>
 /// Check keyword
 /// </summary>
 /// <param name="account">Sms account</param>
 /// <param name="checkKeywordOptions">Check keyword options</param>
 /// <returns>Return check keyword result</returns>
 public static CheckKeywordResult CheckKeyword(SmsAccount account, CheckKeywordOptions checkKeywordOptions)
 {
     return(CheckKeywordAsync(account, checkKeywordOptions).Result);
 }
예제 #3
0
 /// <summary>
 /// Check keyword
 /// </summary>
 /// <param name="checkKeywordOptions">Check keyword options</param>
 /// <returns>Return check keyword result</returns>
 public static CheckKeywordResult CheckKeyword(CheckKeywordOptions checkKeywordOptions)
 {
     return(CheckKeywordAsync(checkKeywordOptions).Result);
 }