Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit a43d29c2 authored by Harald Martini's avatar Harald Martini
Browse files

replaced castle core internal IsNullOrEmpty extension with VectoCommon.StringExtensions

parent 25759882
No related branches found
No related tags found
No related merge requests found
......@@ -4,10 +4,10 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Linq;
using Castle.Core.Internal;
using TUGraz.VectoCommon.InputData;
using TUGraz.VectoCommon.Models;
using TUGraz.VectoCommon.Resources;
using TUGraz.VectoCommon.Utils;
using TUGraz.VectoCore.OutputData.XML.DeclarationReports.ManufacturerReport.ManufacturerReport_0_9.ManufacturerReportXMLTypeWriter;
namespace TUGraz.VectoCore.OutputData.XML.DeclarationReports.ManufacturerReport.ManufacturerReport_0_9.ManufacturerReportGroupWriter
......@@ -34,7 +34,7 @@ namespace TUGraz.VectoCore.OutputData.XML.DeclarationReports.ManufacturerReport.
return new List<XElement>() {
new XElement(_mrf + XMLNames.Component_Model, vehicleData.Model),
new XElement(_mrf + XMLNames.Vehicle_VIN, vehicleData.VIN),
vehicleData.VehicleTypeApprovalNumber.IsNullOrEmpty()
vehicleData.VehicleTypeApprovalNumber.IsNullOrEmpty()
? null
: new XElement(_mrf + XMLNames.Vehicle_TypeApprovalNumber, vehicleData.VehicleTypeApprovalNumber),
new XElement(_mrf + XMLNames.Vehicle_VehicleCategory, vehicleData.LegislativeClass.ToXMLFormat()),
......
......@@ -4,10 +4,10 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Linq;
using Castle.Core.Internal;
using NLog.LayoutRenderers.Wrappers;
using TUGraz.VectoCommon.InputData;
using TUGraz.VectoCommon.Resources;
using TUGraz.VectoCommon.Utils;
namespace TUGraz.VectoCore.OutputData.XML.DeclarationReports.ManufacturerReport.ManufacturerReport_0_9.ManufacturerReportXMLTypeWriter.Components
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment