コード例 #1
0
        public void SetUpVM()
        {
            // Show telemetry controls if there are any telemetry services loaded
            AreTelemetryControlsVisible = AppComposer.Imports.TelemetryServices.Count() > 0;

            EtwProviderGuid = string.Format(EtwProviderGUIDLabelText, Constants.EtwProviderGuid);
            PagesCollection = new ObservableCollection <string>(PageUtil.GetFullPageList().Select(x => x.Title));

            Settings.SettingsUpdated += Settings_SettingsUpdated;
        }