示例#1
0
        private void ConfigureOutput(IEnumerable <Document> outputs)
        {
            if (outputs != null)
            {
                foreach (var output in outputs)
                {
                    switch (output.OutputOperation)
                    {
                    case OutputOperations.Send:
                        break;

                    case OutputOperations.Create:
                        _bus.AddRequestConsumer(output);
                        break;
                    }
                }
            }
        }