Exemplo n.º 1
0
        public static int dsn_register_app_checker_managed(string name, dsn_checker_create_managed create, dsn_checker_apply apply)
        {
            dsn_checker_create create2 = (name2, app_info, app_info_count) =>
            {
                var app_infos = CopyAppInfoArrayToManaged(app_info, app_info_count);
                return(create(name2, app_infos));
            };

            return(dsn_register_app_checker(name, create2, apply));
        }
Exemplo n.º 2
0
        public static int dsn_register_app_checker_managed(string name, dsn_checker_create_managed create, dsn_checker_apply apply)
        {
            dsn_checker_create create2 = (string name2, IntPtr app_info, int app_info_count) => 
            {
                var app_infos = CopyAppInfoArrayToManaged(app_info, app_info_count);
                return create(name2, app_infos);
            };

            return dsn_register_app_checker(name, create2, apply);
        }