/// <summary> /// Constructor /// </summary> /// <param name="_page">WorldclockPage</param> public WorldclockInfo(WorldclockPage _page) { CityRecordList = new ObservableCollection <CityRecord>(); userLocations = new LocationObservableCollection(); page = _page; LoadItemsList(); TimezoneUtility.UpdateLocalTime(); }
/// <summary> /// Gets WorldclockPage /// </summary> /// <returns> /// Return instance of WorldclockPage /// </returns> public static WorldclockPage GetInstance() { if (worldclockPage == null) { worldclockPage = new WorldclockPage(); } return(worldclockPage); }