using System.Xml.Linq; using CRIF.ACTion.Configuration; using Landmark.OLA.Models.Assets; namespace CRIF.ACTion.Loan.Assets { public class AppDetailMfgHomeAndLandSection : AppDetailHelocSection { //AppDetailMfgHomeAndLand is generally similar to AppDetailHeloc. public AppDetailMfgHomeAndLandSection(XNamespace sectionNamespace, CrifSettings settings) : base(sectionNamespace, settings, "appDetailMfgHousingAndLand", "Fixed", "Installment") { } public override void AddPropertyDetails(RealEstateBase realEstateBase, bool? mfgHomeIncludesLand = null) { if (!mfgHomeIncludesLand.HasValue) throw new ArgumentException("Manufactured Home Loans must state if the land is included."); base.AddPropertyDetails(realEstateBase, mfgHomeIncludesLand); } } }