Beispiel #1
0
 public void MixAddInputAccepters(string name, params IInputAccepter[] input_accepters)
 {
     lock (InputAccepterGroups) {
         IInputAccepter[] mixed = new IInputAccepter[InputAccepterGroup.Length + input_accepters.Length];
         int idx = 0;
         for (int i = 0; i < InputAccepterGroup.Length; i++)
         {
             mixed[idx++] = InputAccepterGroup[i];
         }
         for (int i = 0; i < input_accepters.Length; i++)
         {
             mixed[idx++] = input_accepters[i];
         }
         InputAccepterGroups.Insert(0, name, mixed);
     }
 }
Beispiel #2
0
 public void MixAddInputAccepters(string name, params IInputAccepter[] input_accepters)
 {
     lock (InputAccepterGroups) {
         IInputAccepter[] mixed = new IInputAccepter[InputAccepterGroup.Length + input_accepters.Length];
         int idx = 0;
         for(int i = 0; i < InputAccepterGroup.Length; i++)
             mixed[idx++] = InputAccepterGroup[i];
         for(int i = 0; i < input_accepters.Length; i++)
             mixed[idx++] = input_accepters[i];
         InputAccepterGroups.Insert (0, name, mixed);
     }
 }