예제 #1
0
파일: Cell.cs 프로젝트: IsaacSherman/Thesis
 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);
        }