Ejemplo n.º 1
0
        public int Run()
        {
            iLog.TraceAlways("[CmdExe] Run() - START");
            int error = CAPlugin.KErrCommandLineNone;
            //
            CAPlugin plugin = LocatePlugin();

            iLog.TraceAlways("[CmdExe] Run() - plugin: " + plugin);
            if (plugin != null)
            {
                iLog.TraceAlways("[CmdExe] Run() - executing plugin command line operations...");
                error = plugin.RunCommandLineOperations();
            }
            else
            {
                iLog.TraceAlways("[CmdExe] Run() - plugin not found!");
                error = CAPlugin.KErrCommandLinePluginNotFound;
            }
            //
            iLog.TraceAlways("[CmdExe] Run() - END - error: " + error);
            return(error);
        }