Exemple #1
0
        public virtual string GetVolumeBestIdentifier(Volume SelectedVolume)
        {
            if (ParentContext != null) return ParentContext.GetVolumeBestIdentifier(SelectedVolume);

            return "";
        }
Exemple #2
0
Fichier : CPU.cs Projet : Jabe/KOS
        public override string GetVolumeBestIdentifier(Volume SelectedVolume)
        {
            int localIndex = volumes.IndexOf(SelectedVolume);

            if (!String.IsNullOrEmpty(SelectedVolume.Name)) return "#" + localIndex + ": \"" + SelectedVolume.Name + "\"";
            else return "#" + localIndex;
        }