Class EnumExtensions
- Namespace
- Ubiety.Dns.Core.Common.Extensions
- Assembly
- Ubiety.Dns.Core.dll
Provides extension methods for operations related to enumerations in the DNS core library.
public static class EnumExtensions
- Inheritance
-
EnumExtensions
- Inherited Members
Methods
GetRecord(RecordType, RecordReader, int)
Retrieves a record instance of the specified type, using the provided resource reader and optional length.
public static Record GetRecord(this RecordType type, RecordReader reader, int length = 0)
Parameters
typeRecordTypeThe type of the DNS record to retrieve.
readerRecordReaderThe resource reader used to create the record.
lengthintThe length of the record, used for certain record types. Defaults to 0.