public CreateOutputResponse CreateOutput(CreateOutputRequest request)
        {
            lock (_createOutputActionLock)
            {
                if (_createOutputAction == null)
                {
                    _createOutputAction = PolicyInjection.Create <CreateOutputAction>();
                }
            }

            CreateOutputResultCollection result = _createOutputAction.Execute(request.CreateOutputParametersCollection);

            CreateOutputResponse response = new CreateOutputResponse();

            response.CreateOutputResult = result;

            return(response);
        }
Ejemplo n.º 2
0
 public CreateOutputResponse CreateOutput(CreateOutputRequest request)
 {
     return(_adapter.CreateOutput(request));
 }