예제 #1
0
 static private bool AddModel(ref AudioModel model)
 {
     if (model.isValid())
     {
         audios.Add(model);
         ++Count;
         return(true);
     }
     return(false);
 }
예제 #2
0
        public bool AddAudioModel(string path)
        {
            var model = new AudioModel(path);

            return(AddModel(ref model));
        }
예제 #3
0
 static public bool AddAudioModel(AudioModel model)
 {
     return(AddModel(ref model));
 }