예제 #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;
        }
예제 #3
0
 private static Function From(NktExportedFunction function)
 {
     return(new Function(function.Name, function.HasDeclaration, function.Declaration, function.IsForwarded, function.AddrBase));
 }
예제 #4
0
파일: Function.cs 프로젝트: subTee/Deviare2
 private static Function From(NktExportedFunction function)
 {
     return new Function(function.Name, function.HasDeclaration, function.Declaration, function.IsForwarded, function.AddrBase);
 }