public void TransformResponse(ICollection<IPointToLaceProvider> response) { var transformer = new TransformLightstoneCompanyResponse(_returnCompanyReport); if (transformer.Continue) { transformer.Transform(); } transformer.Result.HasBeenHandled(); response.Add(transformer.Result); }
public void TransformResponse(ICollection<IPointToLaceProvider> response) { var transformer = new TransformLightstoneCompanyResponse(_result); if (transformer.Continue) { transformer.Transform(); } _logCommand.LogTransformation(transformer.Result ?? LightstoneBusinessCompanyResponse.Empty(), null); transformer.Result.HasBeenHandled(); response.Add(transformer.Result); }
public override void Observe() { _transformer = new TransformLightstoneCompanyResponse(_returnCompanies); _transformer.Transform(); }