Example #1
0
        public async void Initialize(List <Protocol> protocols = null, List <Country> countries = null)
        {
            Protocols = protocols;
            Countries = countries;

            if (ProtocolsCollection == null)
            {
                ProtocolsCollection = protocols.ToObservableCollection();
            }

            CitiesCollection     = AtomHelper.GetCities().ToObservableCollection();
            ChannelsCollection   = AtomHelper.GetChannels().ToObservableCollection();
            UseCountryConnection = true;
        }