/// <summary> /// Returns the textual representation of a record /// </summary> /// <returns> Textual representation </returns> public override string ToString() { string recordData = RecordDataToString(); return(Name + " " + TimeToLive + " " + RecordClass.ToShortString() + " " + RecordType.ToShortString() + (String.IsNullOrEmpty(recordData) ? "" : " " + recordData)); }
public override string ToString() { return(_name + " " + _recordClass.ToShortString() + " " + _recordType.ToShortString()); }