コード例 #1
0
 /// <summary>
 /// Returns a <see cref="System.String"/> representation of this instance.
 /// </summary>
 /// <returns>
 /// A <see cref="System.String"/> representation of this instance.
 /// </returns>
 public override string ToString()
 {
     return(DnsUtility.Format("{0,-32} {1,-6} {2,-6}", this.Name,
                              DnsUtility.ToString(this.Class), DnsUtility.ToString(this.Type)));
 }
コード例 #2
0
ファイル: DnsRecord.cs プロジェクト: andykernahan/ak-net-dns
 /// <summary>
 /// Returns a <see cref="System.String"/> representation of this instance.
 /// </summary>
 /// <returns>A <see cref="System.String"/> representation of this instance.</returns>
 public override string ToString()
 {
     return(DnsUtility.Format("{0,-25} {1,-6} {2,-6} {3,-6}",
                              this.Owner, DnsUtility.ToString(this.Ttl), DnsUtility.ToString(this.Class),
                              DnsUtility.ToString(this.Type)));
 }