Files
netch/Netch/3rd/DnsClient.NET/Protocol/EmptyRecord.cs
Connection Refused b2ea730984 done
2019-12-02 19:51:12 +08:00

24 lines
857 B
C#

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;
}
}
}