Ejemplo n.º 1
0
        public static NktExportedFunction[] From(NktDbObjectsEnum dbFunctions)
        {
            var adapters = new NktExportedFunction[dbFunctions.Count];

            for (var functionIndex = 0; functionIndex < dbFunctions.Count; functionIndex++)
            {
                var aDbFunction = dbFunctions.GetAt(functionIndex);
                adapters[functionIndex] = new NktDbObjectToExportedFunctionAdapter(aDbFunction);
            }

            return(adapters);
        }
        public static NktExportedFunction[] From(NktDbObjectsEnum dbFunctions)
        {
            var adapters = new NktExportedFunction[dbFunctions.Count];

            for (var functionIndex = 0; functionIndex < dbFunctions.Count; functionIndex++)
            {
                var aDbFunction = dbFunctions.GetAt(functionIndex);
                adapters[functionIndex] = new NktDbObjectToExportedFunctionAdapter(aDbFunction);
            }

            return adapters;
        }
Ejemplo n.º 3
0
        public static Function[] From(NktDbObjectsEnum dbFunctions)
        {
            var functions = new Function[dbFunctions.Count];

            for (var i = 0; i < dbFunctions.Count; i++)
            {
                var dbFunction = dbFunctions.GetAt(i);
                functions[i] = new Function(dbFunction.Name, true, dbFunction.Declaration, false, IntPtr.Zero);
            }

            return(functions);
        }
Ejemplo n.º 4
0
        public static Function[] From(NktDbObjectsEnum dbFunctions)
        {
            var functions = new Function[dbFunctions.Count];

            for (var i = 0; i < dbFunctions.Count; i++)
            {
                var dbFunction = dbFunctions.GetAt(i);
                functions[i] = new Function(dbFunction.Name, true, dbFunction.Declaration, false, IntPtr.Zero);

            }

            return functions;
        }