C# Класс tvTable.CityInformation

Holds information about a given city that will be idplayed as the Sections of a Table View. Each City also contains a collection of AttractionInformation objects that will be the Rows in each Table View section.
Наследование: NSObject
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
AddAttraction ( AttractionInformation attraction ) : void

Adds the attraction to the city.

AddAttraction ( string name, string description, string imageName ) : void

Adds the attraction to the city.

CityInformation ( string name ) : System

Initializes a new instance of the T:tvTable.CityInformation class.

Описание методов

AddAttraction() публичный Метод

Adds the attraction to the city.
public AddAttraction ( AttractionInformation attraction ) : void
attraction AttractionInformation The AttractionInformation object to add.
Результат void

AddAttraction() публичный Метод

Adds the attraction to the city.
public AddAttraction ( string name, string description, string imageName ) : void
name string The name of the attraction.
description string A short description of the attraction.
imageName string The Assets.xcassets name of the image to display for the attraction.
Результат void

CityInformation() публичный Метод

Initializes a new instance of the T:tvTable.CityInformation class.
public CityInformation ( string name ) : System
name string The name of the city.
Результат System