/// <summary> /// Initializes a new instance of the OverriddenTreeView class. /// </summary> /// <param name="constructorTest"> /// Test actions to perform after the TreeView constructor. /// </param> public OverriddenTreeView(Action constructorTest) { Action invariantTest = () => AssertInvariants(); SelectedItemChangedActions = new OverriddenMethod<RoutedPropertyChangedEventArgs<object>>(invariantTest); GetContainerForItemOverrideActions = new OverriddenMethod<DependencyObject>(invariantTest); IsItemItsOwnContainerOverrideActions = new OverriddenMethod<object, bool?>(invariantTest); PrepareContainerForItemOverrideActions = new OverriddenMethod<DependencyObject, object>(invariantTest); ClearContainerForItemOverrideActions = new OverriddenMethod<DependencyObject, object>(invariantTest); OnItemsChangedActions = new OverriddenMethod<NotifyCollectionChangedEventArgs>(invariantTest); GotFocusActions = new OverriddenMethod<RoutedEventArgs>(invariantTest); LostFocusActions = new OverriddenMethod<RoutedEventArgs>(invariantTest); KeyDownActions = new OverriddenMethod<KeyEventArgs>(invariantTest); KeyUpActions = new OverriddenMethod<KeyEventArgs>(invariantTest); MouseEnterActions = new OverriddenMethod<MouseEventArgs>(invariantTest); MouseLeaveActions = new OverriddenMethod<MouseEventArgs>(invariantTest); MouseMoveActions = new OverriddenMethod<MouseEventArgs>(invariantTest); MouseLeftButtonDownActions = new OverriddenMethod<MouseButtonEventArgs>(invariantTest); MouseLeftButtonUpActions = new OverriddenMethod<MouseButtonEventArgs>(invariantTest); ApplyTemplateActions = new OverriddenMethod(invariantTest); CreateAutomationPeerActions = new OverriddenMethod<AutomationPeer>(invariantTest); MeasureActions = new OverriddenMethod<Size, Size?>(invariantTest); ArrangeActions = new OverriddenMethod<Size, Size?>(invariantTest); AssertInvariants(); if (constructorTest != null) { constructorTest(); } }
/// <summary> /// Initializes a new instance of the OverriddenNumericUpDown class. /// </summary> public OverriddenNumericUpDown() { MinimumChangedActions = new OverriddenMethod <double, double>(); MaximumChangedActions = new OverriddenMethod <double, double>(); IncrementChangedActions = new OverriddenMethod <double, double>(); DecimalPlacesChangedActions = new OverriddenMethod <int, int>(); ValueChangedActions = new OverriddenMethod <RoutedPropertyChangedEventArgs <double> >(); ValueChangingActions = new OverriddenMethod <RoutedPropertyChangingEventArgs <double> >(); IsEditableChangedActions = new OverriddenMethod <bool, bool>(); ParseErrorActions = new OverriddenMethod <UpDownParseErrorEventArgs>(); SpinActions = new OverriddenMethod <SpinEventArgs>(); ApplyValueActions = new OverriddenMethod <string>(); FormatValueActions = new OverriddenMethod <string>(); IncrementActions = new OverriddenMethod(); DecrementActions = new OverriddenMethod(); SpinnerStyleChangedActions = new OverriddenMethod <Style, Style>(); GotFocusActions = new OverriddenMethod <RoutedEventArgs>(); LostFocusActions = new OverriddenMethod <RoutedEventArgs>(); KeyDownActions = new OverriddenMethod <KeyEventArgs>(); KeyUpActions = new OverriddenMethod <KeyEventArgs>(); MouseEnterActions = new OverriddenMethod <MouseEventArgs>(); MouseLeaveActions = new OverriddenMethod <MouseEventArgs>(); MouseMoveActions = new OverriddenMethod <MouseEventArgs>(); MouseLeftButtonDownActions = new OverriddenMethod <MouseButtonEventArgs>(); MouseLeftButtonUpActions = new OverriddenMethod <MouseButtonEventArgs>(); ApplyTemplateActions = new OverriddenMethod(); CreateAutomationPeerActions = new OverriddenMethod <AutomationPeer>(); MeasureActions = new OverriddenMethod <Size, Size?>(); ArrangeActions = new OverriddenMethod <Size, Size?>(); }
/// <summary> /// Initializes a new instance of the OverriddenNumericUpDown class. /// </summary> public OverriddenNumericUpDown() { MinimumChangedActions = new OverriddenMethod<double, double>(); MaximumChangedActions = new OverriddenMethod<double, double>(); IncrementChangedActions = new OverriddenMethod<double, double>(); DecimalPlacesChangedActions = new OverriddenMethod<int, int>(); ValueChangedActions = new OverriddenMethod<RoutedPropertyChangedEventArgs<double>>(); ValueChangingActions = new OverriddenMethod<RoutedPropertyChangingEventArgs<double>>(); IsEditableChangedActions = new OverriddenMethod<bool, bool>(); ParseErrorActions = new OverriddenMethod<UpDownParseErrorEventArgs>(); SpinActions = new OverriddenMethod<SpinEventArgs>(); ApplyValueActions = new OverriddenMethod<string>(); FormatValueActions = new OverriddenMethod<string>(); IncrementActions = new OverriddenMethod(); DecrementActions = new OverriddenMethod(); SpinnerStyleChangedActions = new OverriddenMethod<Style, Style>(); GotFocusActions = new OverriddenMethod<RoutedEventArgs>(); LostFocusActions = new OverriddenMethod<RoutedEventArgs>(); KeyDownActions = new OverriddenMethod<KeyEventArgs>(); KeyUpActions = new OverriddenMethod<KeyEventArgs>(); MouseEnterActions = new OverriddenMethod<MouseEventArgs>(); MouseLeaveActions = new OverriddenMethod<MouseEventArgs>(); MouseMoveActions = new OverriddenMethod<MouseEventArgs>(); MouseLeftButtonDownActions = new OverriddenMethod<MouseButtonEventArgs>(); MouseLeftButtonUpActions = new OverriddenMethod<MouseButtonEventArgs>(); ApplyTemplateActions = new OverriddenMethod(); CreateAutomationPeerActions = new OverriddenMethod<AutomationPeer>(); MeasureActions = new OverriddenMethod<Size, Size?>(); ArrangeActions = new OverriddenMethod<Size, Size?>(); }
/// <summary> /// Initializes a new instance of the OverriddenTreeView class. /// </summary> /// <param name="constructorTest"> /// Test actions to perform after the TreeView constructor. /// </param> public OverriddenTreeView(Action constructorTest) { Action invariantTest = () => AssertInvariants(); SelectedItemChangedActions = new OverriddenMethod <RoutedPropertyChangedEventArgs <object> >(invariantTest); GetContainerForItemOverrideActions = new OverriddenMethod <DependencyObject>(invariantTest); IsItemItsOwnContainerOverrideActions = new OverriddenMethod <object, bool?>(invariantTest); PrepareContainerForItemOverrideActions = new OverriddenMethod <DependencyObject, object>(invariantTest); ClearContainerForItemOverrideActions = new OverriddenMethod <DependencyObject, object>(invariantTest); OnItemsChangedActions = new OverriddenMethod <NotifyCollectionChangedEventArgs>(invariantTest); GotFocusActions = new OverriddenMethod <RoutedEventArgs>(invariantTest); LostFocusActions = new OverriddenMethod <RoutedEventArgs>(invariantTest); KeyDownActions = new OverriddenMethod <KeyEventArgs>(invariantTest); KeyUpActions = new OverriddenMethod <KeyEventArgs>(invariantTest); MouseEnterActions = new OverriddenMethod <MouseEventArgs>(invariantTest); MouseLeaveActions = new OverriddenMethod <MouseEventArgs>(invariantTest); MouseMoveActions = new OverriddenMethod <MouseEventArgs>(invariantTest); MouseLeftButtonDownActions = new OverriddenMethod <MouseButtonEventArgs>(invariantTest); MouseLeftButtonUpActions = new OverriddenMethod <MouseButtonEventArgs>(invariantTest); ApplyTemplateActions = new OverriddenMethod(invariantTest); CreateAutomationPeerActions = new OverriddenMethod <AutomationPeer>(invariantTest); MeasureActions = new OverriddenMethod <Size, Size?>(invariantTest); ArrangeActions = new OverriddenMethod <Size, Size?>(invariantTest); AssertInvariants(); if (constructorTest != null) { constructorTest(); } }
/// <summary> /// Initializes a new instance of the OverriddenAutoCompleteBox type. /// </summary> public OverriddenAutoCompleteBox() { FormatValueActions = new OverriddenMethod <object>(); DropDownClosedActions = new OverriddenMethod <RoutedPropertyChangedEventArgs <bool> >(); DropDownClosingActions = new OverriddenMethod <RoutedPropertyChangingEventArgs <bool> >(); DropDownOpenedActions = new OverriddenMethod <RoutedPropertyChangedEventArgs <bool> >(); DropDownOpeningActions = new OverriddenMethod <RoutedPropertyChangingEventArgs <bool> >(); PopulatedActions = new OverriddenMethod <PopulatedEventArgs>(); PopulatingActions = new OverriddenMethod <PopulatingEventArgs>(); SelectionChangedActions = new OverriddenMethod <SelectionChangedEventArgs>(); TextChangedActions = new OverriddenMethod <RoutedEventArgs>(); GetSelectionAdapterActions = new OverriddenMethod(); }
/// <summary> /// Initializes a new instance of the OverriddenAutoCompleteBox type. /// </summary> public OverriddenAutoCompleteBox() { FormatValueActions = new OverriddenMethod<object>(); DropDownClosedActions = new OverriddenMethod<RoutedPropertyChangedEventArgs<bool>>(); DropDownClosingActions = new OverriddenMethod<RoutedPropertyChangingEventArgs<bool>>(); DropDownOpenedActions = new OverriddenMethod<RoutedPropertyChangedEventArgs<bool>>(); DropDownOpeningActions = new OverriddenMethod<RoutedPropertyChangingEventArgs<bool>>(); PopulatedActions = new OverriddenMethod<PopulatedEventArgs>(); PopulatingActions = new OverriddenMethod<PopulatingEventArgs>(); SelectionChangedActions = new OverriddenMethod<SelectionChangedEventArgs>(); TextChangedActions = new OverriddenMethod<RoutedEventArgs>(); GetSelectionAdapterActions = new OverriddenMethod(); }
/// <summary> /// Initializes a new instance of the OverriddenTreeMap class. /// </summary> /// <param name="constructorTest"> /// Test actions to perform after the TreeMap constructor. /// </param> public OverriddenTreeMap(Action constructorTest) { Action invariantTest = () => AssertInvariants(); GetContainerForItemOverrideActions = new OverriddenMethod<FrameworkElement, object, int>(invariantTest); ApplyTemplateActions = new OverriddenMethod(invariantTest); MeasureActions = new OverriddenMethod<Size, Size?>(invariantTest); ArrangeActions = new OverriddenMethod<Size, Size?>(invariantTest); AssertInvariants(); if (constructorTest != null) { constructorTest(); } }
/// <summary> /// Initializes a new instance of the OverriddenTreeMap class. /// </summary> /// <param name="constructorTest"> /// Test actions to perform after the TreeMap constructor. /// </param> public OverriddenTreeMap(Action constructorTest) { Action invariantTest = () => AssertInvariants(); GetContainerForItemOverrideActions = new OverriddenMethod <FrameworkElement, object, int>(invariantTest); ApplyTemplateActions = new OverriddenMethod(invariantTest); MeasureActions = new OverriddenMethod <Size, Size?>(invariantTest); ArrangeActions = new OverriddenMethod <Size, Size?>(invariantTest); AssertInvariants(); if (constructorTest != null) { constructorTest(); } }
/// <summary> /// Initializes a new instance of the HeaderedContentControl class. /// </summary> public OverriddenHeaderedContentControl() { Action invariantTest = null; HeaderChangedActions = new OverriddenMethod<object, object>(invariantTest); HeaderTemplateChangedActions = new OverriddenMethod<DataTemplate, DataTemplate>(invariantTest); ContentChangedActions = new OverriddenMethod<object, object>(invariantTest); GotFocusActions = new OverriddenMethod<RoutedEventArgs>(invariantTest); LostFocusActions = new OverriddenMethod<RoutedEventArgs>(invariantTest); KeyDownActions = new OverriddenMethod<KeyEventArgs>(invariantTest); KeyUpActions = new OverriddenMethod<KeyEventArgs>(invariantTest); MouseEnterActions = new OverriddenMethod<MouseEventArgs>(invariantTest); MouseLeaveActions = new OverriddenMethod<MouseEventArgs>(invariantTest); MouseMoveActions = new OverriddenMethod<MouseEventArgs>(invariantTest); MouseLeftButtonDownActions = new OverriddenMethod<MouseButtonEventArgs>(invariantTest); MouseLeftButtonUpActions = new OverriddenMethod<MouseButtonEventArgs>(invariantTest); ApplyTemplateActions = new OverriddenMethod(invariantTest); CreateAutomationPeerActions = new OverriddenMethod<AutomationPeer>(invariantTest); MeasureActions = new OverriddenMethod<Size, Size?>(invariantTest); ArrangeActions = new OverriddenMethod<Size, Size?>(invariantTest); }
/// <summary> /// Initializes a new instance of the HeaderedContentControl class. /// </summary> public OverriddenHeaderedContentControl() { Action invariantTest = null; HeaderChangedActions = new OverriddenMethod <object, object>(invariantTest); HeaderTemplateChangedActions = new OverriddenMethod <DataTemplate, DataTemplate>(invariantTest); ContentChangedActions = new OverriddenMethod <object, object>(invariantTest); GotFocusActions = new OverriddenMethod <RoutedEventArgs>(invariantTest); LostFocusActions = new OverriddenMethod <RoutedEventArgs>(invariantTest); KeyDownActions = new OverriddenMethod <KeyEventArgs>(invariantTest); KeyUpActions = new OverriddenMethod <KeyEventArgs>(invariantTest); MouseEnterActions = new OverriddenMethod <MouseEventArgs>(invariantTest); MouseLeaveActions = new OverriddenMethod <MouseEventArgs>(invariantTest); MouseMoveActions = new OverriddenMethod <MouseEventArgs>(invariantTest); MouseLeftButtonDownActions = new OverriddenMethod <MouseButtonEventArgs>(invariantTest); MouseLeftButtonUpActions = new OverriddenMethod <MouseButtonEventArgs>(invariantTest); ApplyTemplateActions = new OverriddenMethod(invariantTest); CreateAutomationPeerActions = new OverriddenMethod <AutomationPeer>(invariantTest); MeasureActions = new OverriddenMethod <Size, Size?>(invariantTest); ArrangeActions = new OverriddenMethod <Size, Size?>(invariantTest); }