public virtual string GetVolumeBestIdentifier(Volume SelectedVolume) { if (ParentContext != null) return ParentContext.GetVolumeBestIdentifier(SelectedVolume); return ""; }
public override string GetVolumeBestIdentifier(Volume SelectedVolume) { int localIndex = volumes.IndexOf(SelectedVolume); if (!String.IsNullOrEmpty(SelectedVolume.Name)) return "#" + localIndex + ": \"" + SelectedVolume.Name + "\""; else return "#" + localIndex; }