public string GetListDisplayStrings() { // start an empty string var listBlock = ""; // declare attribute variables w/arguments listBlock += CreateBuildListBlockIfYes("HandicapAccess", "Handicap Access", HandicapAccess.ToTitle()); listBlock += CreateBuildListBlockIfNo("Surcharge", "Surcharge", Surcharge.ToTitle()); listBlock += CreateBuildListBlockIfYes("DriveThruOnly", "Drive Thru Only", DriveThruOnly.ToTitle()); listBlock += CreateBuildListBlockIfYes("AcceptsDeposits", "Accepts Deposits", AcceptDeposit.ToTitle()); listBlock += CreateBuildListBlockIfYes("AcceptsCash", "Accepts Cash", AcceptCash.ToTitle()); listBlock += CreateBuildListBlockIfYes("Cashless", "Cashless", Cashless.ToTitle()); listBlock += CreateBuildListBlockIfYes("SelfServiceDevice", "Self Service Device", SelfServiceDevice.ToTitle()); listBlock += CreateBuildListBlockIfYes("SelfServiceOnly", "Self Service Only", SelfServiceOnly.ToTitle()); listBlock += CreateBuildListBlockIfYes("OnMilitaryBase", "On Military Base", OnMilitaryBase.ToTitle()); listBlock += CreateBuildListBlockIfYes("MilitaryIDRequired", "Military ID Required", MilitaryIdRequired.ToTitle()); listBlock += CreateBuildListBlockIfYes("RestrictedAccess", "Restricted Access", RestrictedAccess.ToTitle()); listBlock += CreateBuildListBlockIfYes("CoinStar", "CoinStar", CoinStar.ToTitle()); listBlock += CreateBuildListBlockIfYes("TellerServices", "Teller Services", TellerServices.ToTitle()); listBlock += CreateBuildListBlockIfYes("_24hourExpressBox", "24 Hour Express Box", _24hourExpressBox.ToTitle()); listBlock += CreateBuildListBlockIfNo("PartnerCreditUnion", "Partner Credit Union", PartnerCreditUnion.ToTitle()); listBlock += CreateBuildListBlockIfYes("MemberConsultant", "Member Consultant", MemberConsultant.ToTitle()); listBlock += CreateBuildListBlockIfYes("InstantDebitCardReplacement", "Instant Debit Card Replacement", InstantDebitCardReplacement.ToTitle()); return(listBlock); }
public string GetListDisplayStrings() { // start an empty string var listBlock = ""; // declare attribute variables w/arguments listBlock += CreateBuildListBlockIfYes("HandicapAccess", "Handicap Access", HandicapAccess.ToTitle()); listBlock += CreateBuildListBlockIfNo("Surcharge", "Surcharge", Surcharge.ToTitle()); listBlock += CreateBuildListBlockIfYes("DriveThruOnly", "Drive Thru Only", DriveThruOnly.ToTitle()); listBlock += CreateBuildListBlockIfYes("AcceptsDeposits", "Accepts Deposits", AcceptDeposit.ToTitle()); listBlock += CreateBuildListBlockIfYes("AcceptsCash", "Accepts Cash", AcceptCash.ToTitle()); listBlock += CreateBuildListBlockIfYes("Cashless", "Cashless", Cashless.ToTitle()); listBlock += CreateBuildListBlockIfYes("SelfServiceDevice", "Self Service Device", SelfServiceDevice.ToTitle()); listBlock += CreateBuildListBlockIfYes("SelfServiceOnly", "Self Service Only", SelfServiceOnly.ToTitle()); listBlock += CreateBuildListBlockIfYes("OnMilitaryBase", "On Military Base", OnMilitaryBase.ToTitle()); listBlock += CreateBuildListBlockIfYes("MilitaryIDRequired", "Military ID Required", MilitaryIdRequired.ToTitle()); listBlock += CreateBuildListBlockIfYes("RestrictedAccess", "Restricted Access", RestrictedAccess.ToTitle()); // return the completed string return(listBlock); }