コード例 #1
0
 /// <summary>
 /// Protected constructor only called from derived classes
 /// </summary>
 /// <param name="rrType"><see cref="RrTypeValue"/> for this ResourceRecord</param>
 /// <param name="rrClass"><see cref="RrClassValue"/> for this Resource Record (as per specs always <see cref="RrClassValue.In"/></param>
 /// <param name="ttl">"Time to live" for this ResourceRecord</param>
 protected NbNsResourceRecordBase(RrTypeValue rrType, RrClassValue rrClass, UInt32 ttl)
 {
     RrType  = rrType;
     RrClass = rrClass;
     Ttl     = ttl;
 }
コード例 #2
0
 /// <summary>
 /// Protected constructor only called from derived classes
 /// </summary>
 /// <param name="rrType"><see cref="RrTypeValue"/> for this ResourceRecord</param>
 /// <param name="rrClass"><see cref="RrClassValue"/> for this Resource Record (as per specs always <see cref="RrClassValue.In"/></param>
 /// <param name="ttl">"Time to live" for this ResourceRecord</param>
 protected NbNsResourceRecordBase(RrTypeValue rrType, RrClassValue rrClass, UInt32 ttl)
 {
   RrType = rrType;
   RrClass = rrClass;
   Ttl = ttl;
 }