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