Table of Contents

Class StationAddress

Namespace
DotBahn.Stations.Models
Assembly
DotBahn.Stations.dll

Mailing address of a railway station.

public class StationAddress
Inheritance
StationAddress
Inherited Members

Constructors

StationAddress()

public StationAddress()

Properties

City

City or municipality name.

public required string City { get; init; }

Property Value

string

DisplayAddress

Formatted single-line address.

public string DisplayAddress { get; }

Property Value

string

Examples

"Bahnhofstraße 1, 12345 Musterstadt"

Street

Street name and house number.

public required string Street { get; init; }

Property Value

string

ZipCode

Postal code (ZIP code).

public required string ZipCode { get; init; }

Property Value

string