Exemplo n.º 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)));
 }
Exemplo n.º 2
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,-25} {1,-6} {2,-6} {3,-6}",
                              this.Owner, DnsUtility.ToString(this.Ttl), DnsUtility.ToString(this.Class),
                              DnsUtility.ToString(this.Type)));
 }