public String toString() {StringBuilder r = new StringBuilder();r.append("Tag");r.append("={\n");r.append("object ");r.append(object != null ? object.name() : "NOT_SET");r.append("\n");r.append("type ");r.append(object != null ? Constants.typeString(type) : "NOT_SET");r.append("\n");r.append("tag ");r.append(tag != null ? tag : "NOT_SET");r.append("\n");if (tagger != null) {r.append("tagger ");r.append(tagger);r.append("\n");}r.append("\n");r.append(message != null ? message : "");r.append("}");return r.toString();}
public override string ToString(){StringBuilder r = new StringBuilder();r.Append("Tag");r.Append("={\n");r.Append("object ");r.Append(@object != null ? @object.Name : "NOT_SET");r.Append("\n");r.Append("type ");r.Append(@object != null ? Constants.TypeString(type) : "NOT_SET");r.Append("\n");r.Append("tag ");r.Append(tag != null ? tag : "NOT_SET");r.Append("\n");if (tagger != null){r.Append("tagger ");r.Append(tagger);r.Append("\n");}r.Append("\n");r.Append(message != null ? message : string.Empty);r.Append("}");return r.ToString();}