Table of Contents

Class Record

Namespace
Ubiety.Dns.Core.Records
Assembly
Ubiety.Dns.Core.dll

Abstract record.

public abstract record Record : IEquatable<Record>
Inheritance
Record
Implements
Derived
Inherited Members

Constructors

Record()

Initializes a new instance of the Record class.

protected Record()

Record(RecordReader)

Initializes a new instance of the Record class.

protected Record(RecordReader reader)

Parameters

reader RecordReader

RecordReader for the record data.

Properties

Reader

Gets the record reader for the record.

protected RecordReader Reader { get; }

Property Value

RecordReader

Remarks

Only the parameterless constructor leaves this unset, and every record in this assembly is built through Record(RecordReader).

ResourceRecord

Gets or sets the resource record this record is a part of.

public ResourceRecord ResourceRecord { get; set; }

Property Value

ResourceRecord

Resource record of the data.

Remarks

Assigned by ResourceRecord immediately after the record is read, so it is always set by the time a caller can observe the record.

Methods

ToString()

String representation of the record.

public override string ToString()

Returns

string

String version of the data.