예제 #1
0
 public AfsDbRecord(ResourceRecordInfo info, AfsType type, DnsString name) : base(info)
 {
     SubType  = type;
     Hostname = name;
 }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AfsDbRecord"/> class.
 /// </summary>
 /// <param name="info">The information.</param>
 /// <param name="type">The type.</param>
 /// <param name="name">The name.</param>
 /// <exception cref="System.ArgumentNullException">If <paramref name="info"/> or <paramref name="name"/> is null.</exception>
 public AfsDbRecord(ResourceRecordInfo info, AfsType type, DnsString name) : base(info)
 {
     SubType  = type;
     Hostname = name ?? throw new ArgumentNullException(nameof(name));
 }