Exemple #1
0
 /// <summary>
 /// Intitialises a new instance of the <see cref="DnsCacheResult"/> type.
 /// </summary>
 /// <param name="type">The cache result type.</param>
 /// <param name="reply">The reply returned by the operation.</param>
 public DnsCacheResult(DnsCacheResultType type, DnsReply reply)
     : this(type) {
     _reply = reply;
 }
Exemple #2
0
 /// <summary>
 /// Intitialises a new instance of the <see cref="DnsCacheResult"/> type.
 /// </summary>
 /// <param name="type">The cache result type.</param>
 public DnsCacheResult(DnsCacheResultType type)
 {
     _type  = type;
     _reply = null;
 }