public OutputHandlerServiceAdapter() { lock (_createOutputActionLock) { if (_createOutputAction == null) { _createOutputAction = PolicyInjection.Create <CreateOutputAction>(); } } }
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); }