protected override void PrepareEncoding()
 {
     AnswerRecords    = Prequisites?.Cast <DnsRecordBase>().ToList() ?? new List <DnsRecordBase>();
     AuthorityRecords = Updates?.Cast <DnsRecordBase>().ToList() ?? new List <DnsRecordBase>();
 }
Beispiel #2
0
 protected override void PrepareEncoding()
 {
     AnswerRecords    = (Prequisites != null ? Prequisites.Cast <DnsRecordBase>().ToList() : new List <DnsRecordBase>());
     AuthorityRecords = (Updates != null ? Updates.Cast <DnsRecordBase>().ToList() : new List <DnsRecordBase>());
 }