コード例 #1
0
 internal static object ValidateUseDataCenterCustomThemeCallback(object value)
 {
     return(UserConfigurationPropertyValidationUtility.ValidateIntCollection(value, -1, new int[]
     {
         0,
         1
     }));
 }
コード例 #2
0
 internal static object ValidateCalendarSidePanelIsExpanded(object value)
 {
     return(UserConfigurationPropertyValidationUtility.ValidateBoolValue(value, true));
 }
コード例 #3
0
 internal static object ValidateCheckForReportJunkDialogCallback(object value)
 {
     return(UserConfigurationPropertyValidationUtility.ValidateBoolValue(value, false));
 }
コード例 #4
0
 internal static object ValidateCalendarAgendaViewIsExpandedTWide(object value)
 {
     return(UserConfigurationPropertyValidationUtility.ValidateBoolValue(value, true));
 }
コード例 #5
0
 internal static object ValidateHasShownPeopleIKnowCallback(object value)
 {
     return(UserConfigurationPropertyValidationUtility.ValidateBoolValue(value, false));
 }
コード例 #6
0
 internal static object ValidateLearnabilityTypesShownCallback(object value)
 {
     return((int)UserConfigurationPropertyValidationUtility.ValidateIntRange(value, 0, 0, int.MaxValue));
 }
コード例 #7
0
 internal static object ValidateHasShownIntroductionForPeopleCentricTriageCallback(object value)
 {
     return(UserConfigurationPropertyValidationUtility.ValidateBoolValue(value, false));
 }
コード例 #8
0
 internal static object ValidateCurrentWeatherLocationBookmarkIndex(object value)
 {
     return((int)UserConfigurationPropertyValidationUtility.ValidateIntRange(value, CurrentWeatherLocationBookmarkIndexOption.None, -1, 4));
 }
コード例 #9
0
 internal static object ValidateDismissedSurveysCallback(object value)
 {
     return((int)UserConfigurationPropertyValidationUtility.ValidateIntRange(value, 0, 0, int.MaxValue));
 }
コード例 #10
0
 internal static object ValidateDontShowSurveysCallback(object value)
 {
     return(UserConfigurationPropertyValidationUtility.ValidateBoolValue(value, false));
 }
コード例 #11
0
 internal static object ValidateIsInferenceSurveyCompleteCallback(object value)
 {
     return(UserConfigurationPropertyValidationUtility.ValidateBoolValue(value, false));
 }
コード例 #12
0
 internal static object ValidateHasShownClutterDeleteAllIntroductionTWideCallback(object value)
 {
     return(UserConfigurationPropertyValidationUtility.ValidateBoolValue(value, false));
 }
コード例 #13
0
 internal static object ValidateBasicViewRowCountCallback(object value)
 {
     return(UserConfigurationPropertyValidationUtility.ValidateViewRowCountCallbackInternal(value, 20));
 }
コード例 #14
0
 internal static object ValidateIsClutterUIEnabledCallback(object value)
 {
     return(UserConfigurationPropertyValidationUtility.ValidateBoolValue(value, UserConfigurationPropertyValidationUtility.DefaultIsClutterUIEnabled));
 }
コード例 #15
0
 internal static object ValidateShowInferenceUiElementsCallback(object value)
 {
     return(UserConfigurationPropertyValidationUtility.ValidateBoolValue(value, true));
 }
コード例 #16
0
 internal static object ValidateAttachmentsFilePickerViewType(object value)
 {
     return((int)UserConfigurationPropertyValidationUtility.ValidateIntRange(value, AttachmentsFilePickerViewType.None, 0, 2));
 }
コード例 #17
0
 internal static object ValidateAttachmentsFilePickerHideBanner(object value)
 {
     return(UserConfigurationPropertyValidationUtility.ValidateBoolValue(value, false));
 }
コード例 #18
0
 internal static object ValidateNextSelectionCallback(object value)
 {
     return((NextSelectionDirection)UserConfigurationPropertyValidationUtility.ValidateIntRange(value, 1, 0, 2));
 }
コード例 #19
0
 internal static object ValidateTemperatureUnit(object value)
 {
     return((int)UserConfigurationPropertyValidationUtility.ValidateIntRange(value, TemperatureUnit.Default, 0, 2));
 }
コード例 #20
0
 internal static object ValidatePeopleIKnowUseCallback(object value)
 {
     return((int)UserConfigurationPropertyValidationUtility.ValidateIntRange(value, 0, 0, int.MaxValue));
 }
コード例 #21
0
 internal static object ValidateHasShownIntroductionForModernGroupsCallback(object value)
 {
     return(UserConfigurationPropertyValidationUtility.ValidateBoolValue(value, false));
 }
コード例 #22
0
 internal static object ValidateModernGroupsLastUseDateCallback(object value)
 {
     return(UserConfigurationPropertyValidationUtility.ValidateDateTimeString(value, UserConfigurationPropertyValidationUtility.DefaultSurveyDate));
 }
コード例 #23
0
 internal static object ValidateNavigationPaneViewOptionCallback(object value)
 {
     return((int)UserConfigurationPropertyValidationUtility.ValidateIntRange(value, NavigationPaneView.Default, 0, 4));
 }
コード例 #24
0
 internal static object ValidateShowPreviewTextInListViewCallback(object value)
 {
     return(UserConfigurationPropertyValidationUtility.ValidateBoolValue(value, true));
 }
コード例 #25
0
 internal static object ValidateCalendarSearchUseCountCallback(object value)
 {
     return((int)UserConfigurationPropertyValidationUtility.ValidateIntRange(value, 0, 0, int.MaxValue));
 }
コード例 #26
0
 internal static object ValidateGlobalReadingPanePosition(object value)
 {
     return((int)UserConfigurationPropertyValidationUtility.ValidateIntRange(value, MailReadingPanePosition.Right, 0, 2));
 }
コード例 #27
0
 internal static object ValidateReportJunkSelectedCallback(object value)
 {
     return(UserConfigurationPropertyValidationUtility.ValidateBoolValue(value, false));
 }
コード例 #28
0
 internal static object ValidateSchedulingViewType(object value)
 {
     return((int)UserConfigurationPropertyValidationUtility.ValidateIntRange(value, CalendarViewType.Daily, 1, 2));
 }
コード例 #29
0
 internal static object ValidateBuildGreenLightSurveyLastShownDateCallback(object value)
 {
     return(UserConfigurationPropertyValidationUtility.ValidateDateTimeString(value, UserConfigurationPropertyValidationUtility.DefaultSurveyDate));
 }
コード例 #30
0
 internal static object ValidatePeopleHubSortOptionType(object value)
 {
     return((int)UserConfigurationPropertyValidationUtility.ValidateIntRange(value, PeopleSortOptionsType.Uninitialized, 1, 6));
 }