예제 #1
0
 internal static extern void start_collector(
     Runner.CollectHandler collectHandler,
     Runner.LoadHandler loadHandler,
     Runner.UnloadHandler unloadHandler,
     Runner.DefineHandler defineHandler,
     string name,
     string version
     );
예제 #2
0
        // Runner

        internal static void start_collector(
            Runner.CollectHandler collectHandler, Runner.LoadHandler loadHandler, Runner.UnloadHandler unloadHandler,
            Runner.DefineHandler defineHandler, string name, string version
            )
        {
            if (IsWindows())
            {
                CBridgeWin.start_collector(collectHandler, loadHandler, unloadHandler, defineHandler, name, version);
            }
            else if (IsLinux())
            {
                CBridgeLinux.start_collector(collectHandler, loadHandler, unloadHandler, defineHandler, name, version);
            }
            else
            {
                throw new NotImplementedException(NoImplementedError);
            }
        }