Пример #1
0
        private void Initialize()
        {
            _rootItem = new RootDataItem();

            if (App.AppData.Services != null)
            {
                foreach (var serviceInfo in App.AppData.Services)
                {
                    var item = CreateServiceDataItem(serviceInfo);
                    _rootItem.Elements.Add(item);
                }
            }
        }
Пример #2
0
        private void Initialize()
        {
            _rootItem = new RootDataItem();

            if (App.AppData.Services != null)
            {
                foreach (var serviceInfo in App.AppData.Services)
                {
                    var item = CreateServiceDataItem(serviceInfo);
                    _rootItem.Elements.Add(item);
                }
            }
        }