Exemplo n.º 1
0
 public AudioClipboard(PhraseNode node, AudioRange range)
     : base(node, true)
 {
     mAudioRange = range;
     if (mAudioRange.HasCursor)
     {
         throw new Exception("Expected actual audio selection.");
     }
     if (!(Node is PhraseNode))
     {
         throw new Exception("Expected phrase node.");
     }
 }
Exemplo n.º 2
0
 public AudioSelection(PhraseNode node, IControlWithSelection control, AudioRange audioRange)
     : base(node, control)
 {
     mAudioRange = audioRange;
 }