mirror of
https://github.com/netchx/netch.git
synced 2026-03-28 18:59:46 +08:00
done
This commit is contained in:
24
Netch/3rd/DnsClient.NET/Protocol/EmptyRecord.cs
Normal file
24
Netch/3rd/DnsClient.NET/Protocol/EmptyRecord.cs
Normal 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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user