This commit is contained in:
Connection Refused
2019-12-02 19:51:12 +08:00
commit b2ea730984
229 changed files with 86605 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
namespace DnsClient.Protocol
{
/// <summary>
/// A <see cref="DnsResourceRecord"/> not representing any specifc resource record.
/// Used if unsupported <see cref="ResourceRecordType"/>s are found in the result.
/// </summary>
/// <seealso cref="DnsClient.Protocol.DnsResourceRecord" />
public class EmptyRecord : DnsResourceRecord
{
/// <summary>
/// Initializes a new instance of the <see cref="EmptyRecord"/> class.
/// </summary>
/// <param name="info">The information.</param>
/// <exception cref="System.ArgumentNullException">If <paramref name="info"/> is null.</exception>
public EmptyRecord(ResourceRecordInfo info) : base(info)
{
}
private protected override string RecordToString()
{
return string.Empty;
}
}
}