Beispiel #1
0
        public string GetName(AUDIOCODE code)
        {
            var o = from p in AudioCodeDataAry
                    where p.code == code
                    select p;

            if (o.Count() != 1)
            {
                return(AudioCodeDataAry.Last().name);
            }
            return(o.First().name);
        }
Beispiel #2
0
 public epgAudioCode(AUDIOCODE v) : this()
 {
     this.value = (Int32)v;
 }
Beispiel #3
0
 public AudioCodeData(AUDIOCODE code, Int32 value, string name)
 {
     this.code  = code;
     this.value = value;
     this.name  = name;
 }