Exemplo n.º 1
0
 public string prettyPrintTitle()
 {
     return(string.Format(monitor.mmGetName() == null ? "{0}" : "[{0}] {1}",
                          monitor.mmGetName() == null ? new object[] { title } : new object[] { monitor.mmGetName(), title }));
 }
Exemplo n.º 2
0
 /**
  * Returns the implementing mixin name if not null
  * plus the configured title.
  *
  * @return
  */
 public string prettyPrintTitle()
 {
     return(monitor.mmGetName() != null?
            string.Format("[{0}] {1}", monitor.mmGetName(), title) :
                string.Format("{0}", title));
 }