예제 #1
0
        public void AddSound(string name, double start, double step,
                             int stepCount, IComponentCollection collection)
        {
            SoundTest st = new SoundTest(collection, name, start, step, stepCount);

            testList.Add(st);
        }
예제 #2
0
 protected override bool Process(int i, ITest test, Dictionary <string, object[]> d)
 {
     if (base.Process(i, test, d))
     {
         return(true);
     }
     if (test is SoundTest)
     {
         SoundTest st = test as SoundTest;
         d[st.Name] = new object[] { i };
         return(true);
     }
     return(false);
 }