public static void Get(ref DataJet jet, ref string sourceFile, EntryType type, int id, string defaultContents = null) { if (jet == null) { jet = new DataJet(sourceFile, type, id, defaultContents); } }
public void ImportAudio(string questionFile, AudioType type, string audioFile) { DataJet.Get(ref jet, ref questionFile, EntryType.TDQuestion, ID, defaultJet); jet.SetAudioFile(type, audioFile); }