示例#1
0
        private static void PrintUsage(WFProcessorArguments procArgs)
        {
            KRSrcWorkflow.WFLogger.NLogger.Debug(string.Format(@"-assembly {AssemblyDll:AssemblyType} -src {IPQueue:IPQueueName} [-target {IPQueue:IPQueueName}] [-numthreads {1,2,3...}] [-configfile {wfprocess.cfg}]
As a system service:
	[regular config] -install ""ServiceName"" [""Service Description""] [""Actual Descrption""]
	-remove ""ServiceName""
{0}", procArgs.ToString()));
//			KRSrcWorkflow.WFLogger.NLogger.Debug(procArgs.ToString());
        }
示例#2
0
        static void Main(string[] args)
        {
            WFProcessorArguments procArgs = new WFProcessorArguments(args);

            if (procArgs.Usage)
            {
                WFProcessor.PrintUsage(procArgs);
                return;
            }
            KRSrcWorkflow.WFLogger.NLogger.Info(procArgs.ToString());

            WFProcessor.Process(procArgs);
        }