string GetTrackablesAsString(IEnumerable <TrackableBehaviour> trackableBehaviours) { if (trackableBehaviours != null && trackableBehaviours.Count() > 0 && this.trackablesDictionary != null && this.trackablesDictionary.Count() > 0) { var trackablesAsMultiLineString = string.Empty; foreach (TrackableBehaviour tb in trackableBehaviours) { var status = SampleUtil.GetValuefromDictionary(this.trackablesDictionary, tb.TrackableName); if (!string.IsNullOrEmpty(status)) { trackablesAsMultiLineString += "\n" + tb.TrackableName + ": " + status; } } return(trackablesAsMultiLineString); } else { return(string.Empty); } }