C# Class EA.Iws.DocumentGeneration.ViewModels.AddressViewModel

显示文件 Open project: EnvironmentAgency/prsd-iws Class Usage Examples

Public Methods

Method Description
Address ( AddressLines numberOfLines ) : string
AddressViewModel ( Address address ) : System.Collections.Generic
GetAddressViewModelShowingSeeAnnexInstruction ( string seeAnnexNotice ) : AddressViewModel

Private Methods

Method Description
AddressViewModel ( ) : System.Collections.Generic
Convert ( IList contents ) : string

Converts the address represented by the collection of ordered strings to a string with each string being on a new line.

MergeLines ( ) : string

Method Details

Address() public method

public Address ( AddressLines numberOfLines ) : string
numberOfLines AddressLines
return string

AddressViewModel() public method

public AddressViewModel ( Address address ) : System.Collections.Generic
address Address
return System.Collections.Generic

GetAddressViewModelShowingSeeAnnexInstruction() public static method

public static GetAddressViewModelShowingSeeAnnexInstruction ( string seeAnnexNotice ) : AddressViewModel
seeAnnexNotice string
return AddressViewModel