Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DnsQuestion"/> class.
 /// </summary>
 /// <param name="query">The query.</param>
 /// <param name="questionType">Type of the question.</param>
 /// <param name="questionClass">The question class.</param>
 /// <exception cref="ArgumentNullException">If <paramref name="query"/> is null.</exception>
 public DnsQuestion(string query, PseudoResourceRecordType questionType, QueryClass questionClass)
     : this(DnsString.Parse(query), questionType, questionClass)
 {
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DnsQuestion"/> class.
 /// </summary>
 /// <param name="query">The query.</param>
 /// <param name="questionType">Type of the question.</param>
 /// <param name="questionClass">The question class.</param>
 /// <exception cref="ArgumentNullException">If <paramref name="query"/> is null.</exception>
 public DnsQuestion(string query, QueryType questionType, QueryClass questionClass = QueryClass.IN)
     : this(DnsString.Parse(query), questionType, questionClass)
 {
 }