public String toString() {String coll = collectionModel.getName();if (coll != null) {return String.format(Locale.ROOT, "LM %s - %s", getName(), coll);} else {return String.format(Locale.ROOT, "LM %s", getName());}}

public String toString ( ) { String coll = collectionModel . getName ( ) ; if ( coll != null ) { return String . format ( Locale . ROOT , "LM %s - %s" , getName ( ) , coll ) ; } else { return String . format ( Locale . ROOT , "LM %s" , getName ( ) ) ; } }
public override string ToString(){string coll = m_collectionModel.GetName();if (coll != null){return string.Format("LM {0} - {1}", GetName(), coll);}else{return string.Format("LM {0}", GetName());}}
