internal override void ProcessMappingsFromRowValues(RowValues values) { RadiusTargetBid = new RadiusTargetBid2(); base.ProcessMappingsFromRowValues(values); values.ConvertToEntity(this, Mappings); }
/// <summary> /// Outputs the RadiusTargetBid2. /// </summary> protected void OutputRadiusTargetBid2(RadiusTargetBid2 targetBid) { if (targetBid != null) { OutputStatusMessage(string.Format("BidAdjustment: {0}", targetBid.BidAdjustment)); OutputStatusMessage(string.Format("Name : {0}", targetBid.Name)); OutputStatusMessage(string.Format("Radius : {0}", targetBid.Radius)); var radiusUnit = targetBid.RadiusUnit == DistanceUnit.Kilometers ? "Kilometers" : "Miles"; OutputStatusMessage(string.Format("RadiusUnit: {0}", radiusUnit)); } }