Beispiel #1
0
        public RegionNeigbourMapSummaryViewModel(Neighbour neighbour)
        {
            Distance   = neighbour.Passage.Distance;
            RegionName = neighbour.Region.Name;

            if (RegionName.Length > 13)
            {
                RegionName = RegionName.Substring(0, 10) + "...";
            }
        }