mirror of
https://github.com/netchx/netch.git
synced 2026-03-18 18:13:21 +08:00
24 lines
857 B
C#
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;
|
|
}
|
|
}
|
|
} |