Пример #1
0
 private static void initDelegatesAndNames()
 {
     functions = new DataDelegate[OptoGlobals.NumberOfFeatures];
     for (int i = 0; i < OptoGlobals.NumberOfFeatures; ++i)
     {
         functions[i] = DelegateBuilder.SimpleLookup(i);
     }
 }
Пример #2
0
        public static double QuickTest()
        {
            double[] data = { 1, 2, 3, 4, 5 };
            object   bort = data;

            Cell.DataDelegate foo    = DelegateBuilder.SimpleLookup(3);
            double            result = foo(bort);

            return(result);
        }