Microsoft.Silverlight.Testing A class containing an Assert method. The MethodInfo object used to invoke Assert.IsNotNull. The MethodInfo object used to invoke Assert.AreNotSame. The MethodInfo object used to invoke Assert.AreNotEqual. The MethodInfo object used to invoke Assert.AreSame. The MethodInfo object used to invoke Assert.AreEqual. The MethodInfo object used to invoke Assert.IsNull. The MethodInfo object used to invoke Assert.IsFalse. The MethodInfo object used to invoke Assert.IsTrue. A regular expression which identifies a pattern signifying an anonymous type. This pattern is emitted by the Expression object when it converts an anonymous type to a string. A regular expression which identifies a pattern emitted by an Expression object when it converts an anonymous type to a string. Asserts a condition is true. The condition that must be true. Asserts a condition is true. The condition that must be true. The message to be displayed when the test fails. Generates an assert failure message using the code block responsible for the failure. The predicate that fails. The user-provided assertion failure message. A constant expression containing the user-provided failure message or a description of the expression that failed. Analyzes the expression and creates an action which calls the correct assert method based on its contents. The predicate expression. The message to display if an assertion fails. An action which calls the correct assert method. Analyzes a predicate expression and invokes the correct assert method. The type of the argument to the predicate. A predicate to be converted into an assert statement. The assertion message. Creates an action from certain types of supported binary expression patterns. If no supported pattern is found null is returned. Based on analyzing the predicate the action invokes the correct Assert method. A binary expression extracted from a predicate expression. The message to display if the assertion fails. An action that invokes an Assert method. Mark the test method as one which expects asynchronous execution. It is important to call TestComplete() once it is ready or your test will never continue/timeout. An attribute that contains known bug information that can be logged during a unit test run. When applied to a test method, it will invert the result. This makes it possible to perform automated runs and continuous integration while validating and tracking known issues. The attribute should have the Fixed bool set to True, or be removed, once the issue is resolved. Construct a new BugAttribute with no bug description. Construct a new BugAttribute with a bug description. Known issue text. Return the bug information. Known issue as a string. Gets the bug description. Gets or sets a value indicating whether the known issue has been fixed. If it has, the attribute is ignored and will not affect test results. Represents a control that builds on top of the standard platform Button, offering the ability to modify the corner radii or even use special button modes. Identifies the SecondaryVisibility dependency property. Identifies the CornerRadius dependency property. Gets or sets the visibility of a secondary set of visuals in the template. Gets or sets the corner radius to use. A color selection converter for translating a bool result into a color. Initializes a new instance of the ColorSelectorConverter type. Convert a boolean value to a Color value. The value. The target parameter. ConverterParameter is of type Visibility. The culture parameter. Returns the object. Support 2-way databinding of the VisibilityConverter, converting Visibility to a boolean. The value. The target parameter. ConverterParameter is of type Visibility. The culture parameter. Returns the object. Gets or sets the color to use for true values. Gets or sets the color to use for false values. A set of extension methods for manipulating collections. Experimental Returns a value indicating whether a collection is read-only. The collection to examine. A value indicating whether a collection is read-only. Returns a value Indicating whether an item can be inserted in a collection. The collection. The item to be inserted. A value Indicating whether an item can be inserted in a collection. Inserts an item into the collection at an index. The collection. The index at which to insert the item. The item to be inserted. Gets the number of items in the collection. The collection. The number of items in the collection. Adds an item to the collection. The collection. The item to be added. Removes an item from the collection. The collection. The item to be removed. Removes an item at a given index from the collection. The collection. The index of the item to be removed. A color selection converter for translating a bool result into a color. The default true color. The default false color. Initializes a new instance of the ColorSelectorConverter type. Convert a boolean value to a Color value. The value. The target parameter. ConverterParameter is of type Visibility. The culture parameter. Returns the object. Support 2-way databinding of the VisibilityConverter, converting Visibility to a boolean. The value. The target parameter. ConverterParameter is of type Visibility. The culture parameter. Returns the object. Gets or sets the color to use for true values. Gets or sets the color to use for false values. A set of extension methods for the sequence class. ;dsf Produces a sequence of items using a seed value and iteration method. The type of the sequence. The initial value. The iteration function. A sequence of items using a seed value and iteration method. Prepend an item to a sequence. The type of the sequence. The sequence to append the item to. The item to append to the sequence. A new sequence. Accepts two sequences and applies a function to the corresponding values in the two sequences. The type of the first sequence. The type of the second sequence. The return type of the function. The first sequence. The second sequence. The function to apply to the corresponding values from the two sequences. A sequence of transformed values from both sequences. A converter for modifying the font weight based on a parameter. Convert a boolean value to a FontWeight value. The value object. The target parameter. ConverterParameter is of type Visibility. The culture parameter. Returns the object. Support 2-way databinding of the VisibilityConverter, converting Visibility to a bool. The value object. The target parameter. ConverterParameter is of type Visibility. The culture parameter. Returns the object. Determine the visibility mode based on a converter parameter. This parameter is of type Visibility, and specifies what visibility value to return when the boolean value is true. The parameter object. Returns a FontWeight value. Determine whether or not weight is inverted based on a converter parameter. The parameter instance. Returns a value indicating whether the instance is inverting. Collection of functions for functional programming tasks. Traverses a tree by accepting an initial value and a function that retrieves the child nodes of a node. The type of the stream. The initial node. A function that retrieves the child nodes of a node. A predicate that evaluates a node and returns a value indicating whether that node and it's children should be traversed. A stream of nodes. The test results header control. Initializes a new instance of the Header type. InitializeComponent A value converter for collapsing or showing elements based on the bound object's type name. Does not walk the hierarchy - it is explicit to the most specific class for the value. This class, InvertedTypeNameVisibilityConverter, offers the opposite behavior of the TypeNameVisibilityConverter class. A value converter for collapsing or showing elements based on the bound object's type name. Does not walk the hierarchy - it is explicit to the most specific class for the value. Convert a value based on CLR type to a Visibility value. Does not walk the type tree, however. The value instance. The target parameter. ConverterParameter is the name of the type, both short and full names are checked, short name first. The culture parameter. Returns the object. Convert back, not supported with this value converter. The value instance. The target parameter. ConverterParameter is of type Visibility. The culture parameter. Returns the object. Gets a value indicating whether the visibility value should be inverted. Gets a value indicating whether the visibility value should be inverted. Provides useful extensions to ItemsControl instances. Experimental Gets the Panel that contains the containers of an ItemsControl. The ItemsControl. The Panel that contains the containers of an ItemsControl, or null if the Panel could not be found. is null. Gets the ScrollViewer that contains the containers of an ItemsControl. The ItemsControl. The ScrollViewer that contains the containers of an ItemsControl, or null if a ScrollViewer could not be found. is null. Get the item containers of an ItemsControl. The ItemsControl. The item containers of an ItemsControl. is null. Get the item containers of an ItemsControl. The type of the item containers. The ItemsControl. The item containers of an ItemsControl. is null. Get the item containers of an ItemsControl. The type of the item containers. The ItemsControl. The item containers of an ItemsControl. Get the items and item containers of an ItemsControl. The ItemsControl. The items and item containers of an ItemsControl. is null. Get the items and item containers of an ItemsControl. The type of the item containers. The ItemsControl. The items and item containers of an ItemsControl. is null. Get the items and item containers of an ItemsControl. The type of the item containers. The ItemsControl. The items and item containers of an ItemsControl. is null. Returns a value indicating whether an item can be added to an ItemsControl. The ItemsControl instance. The item to be added. A value Indicating whether an item can be added to an ItemsControl. Returns a value indicating whether an item can be removed from the ItemsControl. The items control. A value indicating whether an item can be removed from the ItemsControl. Inserts an item into an ItemsControl. The ItemsControl instance. The index at which to insert the item. The item to be inserted. Adds an item to an ItemsControl. The ItemsControl instance. The item to be inserted. Removes an item from an ItemsControl. The ItemsControl instance. The item to be removed. Removes an item from an ItemsControl. The ItemsControl instance. The index of the item to be removed. Gets the number of items in an ItemsControl. The ItemsControl instance. The number of items in the ItemsControl. Represents a control that applies a layout transformation to its Content. Preview Name of the TransformRoot template part. Name of the Presenter template part. Acceptable difference between two doubles. Number of decimals to round the Matrix to. Identifies the LayoutTransform DependencyProperty. Root element for performing transformations. ContentPresenter element for displaying the content. RenderTransform/MatrixTransform applied to _transformRoot. Transformation matrix corresponding to _matrixTransform. Actual DesiredSize of Child element (the value it returned from its MeasureOverride method). Initializes a new instance of the LayoutTransformer class. Builds the visual tree for the LayoutTransformer control when a new template is applied. Handles changes to the Transform DependencyProperty. Source of the change. Event args. Applies the layout transform on the LayoutTransformer control content. Only used in advanced scenarios (like animating the LayoutTransform). Should be used to notify the LayoutTransformer control that some aspect of its Transform property has changed. Processes the Transform to determine the corresponding Matrix. Transform to process. Walks the Transform(Group) and returns the corresponding Matrix. Transform(Group) to walk. Computed Matrix. Provides the behavior for the "Measure" pass of layout. The available size that this element can give to child elements. The size that this element determines it needs during layout, based on its calculations of child element sizes. Provides the behavior for the "Arrange" pass of layout. The final area within the parent that this element should use to arrange itself and its children. The actual size used. Using the WPF paramater name finalSize instead of Silverlight's finalSize for clarity Compute the largest usable size (greatest area) after applying the transformation to the specified bounds. Arrange bounds. Largest Size possible. Returns true if Size a is smaller than Size b in either dimension. Second Size. First Size. True if Size a is smaller than Size b in either dimension. Rounds the non-offset elements of a Matrix to avoid issues due to floating point imprecision. Matrix to round. Number of decimal places to round to. Rounded Matrix. Implements WPF's Rect.Transform on Silverlight. Rect to transform. Matrix to transform with. Bounding box of transformed Rect. Implements WPF's Matrix.Multiply on Silverlight. First matrix. Second matrix. Multiplication result. Implements WPF's Matrix.HasInverse on Silverlight. Matrix to check for inverse. True if the Matrix has an inverse. Outputs diagnostic info if DIAGNOSTICWRITELINE is defined. Diagnostic message. Gets or sets the layout transform to apply on the LayoutTransformer control content. Corresponds to UIElement.LayoutTransform. Gets the child element being transformed. The TagEditor control provides a brief user interface allowing for the selection of a set of tests, used to filter the test run. Key used to lookup the TagHistory site setting. Number of seconds to wait before running the test. Initializes a new instance of the TagEditor type. The tag expression to use. Initializes a new instance of the TagEditor type. Fires the Complete event. The event arguments. Handle touch of the button to display the text box. Tag button. Event arguments. Handle selection of a tag button. Tag button. Event arguments. Handle changes to the Tag text. Tag TextBox. Event arguments. Handle clicks to the Run button. Run Button. Event arguments. Handle timer ticks. The timer. Event arguments. Stop the timer. Run the unit tests. Cancels the selection of a tag expression. The source object. The event data. InitializeComponent Gets or sets the timer used to automatically run tests if no tag is entered. Gets or sets the number of seconds already waited. Gets or sets the tag history. An event that indicates that the tag editor is complete. This can be in response to many actions: the user entering a tag expression, the time expiring and the default being selected, or the selection being canceled. Mobile test exceptions page. Initializes a new instance of the page. InitializeComponent Mobile test method details page. Initializes a new instance of the page. InitializeComponent A user control designed for mobile platforms. The control should be used as the root visual for a Silverlight plugin if developers would like to use the advanced TestSurface functionality. An interface for any test page instances to implement. Gets the test panel instance. An interface for any test page instances to implement. Requests navigation back a page. A value indicating whether the operation was successful. Contains the slide manager for the primitive user interface navigation system. Backing field for the unit test harness instance. Backing field for the startup timer. Backing field for the model manager. Initializes a new instance of the MobileTestPage class. Initializes the MobileTestPage object. The test harness instance. Waits for the Settings to become available, either by the service or system setting the instance property. The source timer. The event arguments. Creates a new slide and inserts it into the slide manager, plus visual tree. The text header to use. The content to inside the slide. Returns the new Slide instance. Handles the completion event on the tag expression editor to begin the test run using the user-provided settings. The source object. The event arguments. Starts the test run. Handles the test harness complete event, to display results. The source object. The event data. Handles the movement back to the test assemblies list. The source object. The event arguments. Handles the movement back to the test classes list. The source object. The event arguments. Handles the movement back to the test methods list. The source object. The event arguments. Handles the selection of a test assembly. The source object. The event arguments. Handles the selection of a test class. The source object. The event arguments. Handles the selection of a test method. The source object. The event arguments. Requests navigation back a page. A value indicating whether the operation was successful. InitializeComponent Gets the test surface, a dynamic Panel that removes its children elements after each test completes. Gets the unit test harness instance. A derived TreeView control specific to the application needs for showing results in real-time. Represents a control that displays hierarchical data in a tree structure that has items that can expand and collapse. Stable The IUpdateVisualState interface is used to provide the InteractionHelper with access to the type's UpdateVisualState method. Update the visual state of the control. A value indicating whether to automatically generate transitions to the new state, or instantly transition to the new state. A value indicating whether a read-only dependency property change handler should allow the value to be set. This is used to ensure that read-only properties cannot be changed via SetValue, etc. A value indicating whether a dependency property change handler should ignore the next change notification. This is used to reset the value of properties without performing any of the actions in their change handlers. Identifies the dependency property. The identifier for the property. SelectedItemProperty property changed handler. TreeView that changed its SelectedItem. Event arguments. Identifies the dependency property. The identifier for the dependency property. SelectedValueProperty property changed handler. TreeView that changed its SelectedValue. Event arguments. Identifies the dependency property. The identifier for the dependency property. SelectedValuePathProperty property changed handler. TreeView that changed its SelectedValuePath. Event arguments. Identifies the dependency property. The identifier for the dependency property. ItemContainerStyleProperty property changed handler. TreeView that changed its ItemContainerStyle. Event arguments. Initializes a new instance of the class. Returns a for use by the Silverlight automation infrastructure. A for the control. Builds the visual tree for the control when a new control template is applied. Update the visual state of the TreeView. A value indicating whether to use transitions when updating the visual state. Creates a to display content. A to use as a container for content. Determines whether the specified item is a , which is the default container for items in the control. The object to evaluate. True if the item is a ; otherwise, false. Prepares the container element to display the specified item. The container element used to display the specified item. The item to display. Removes all templates, styles, and bindings for the object displayed as a . The element to clear. The item that is contained in the . Makes adjustments to the control when the value of the property changes. A that contains data about the change. Select any descendents when adding new TreeViewItems to a TreeView. The added item. Propagate OnKeyDown messages from the root TreeViewItems to their TreeView. Event arguments. Because Silverlight's ScrollViewer swallows many useful key events (which it can ignore on WPF if you override HandlesScrolling or use an internal only variable in Silverlight), the root TreeViewItems explicitly propagate KeyDown events to their parent TreeView. Provides handling for the event when a key is pressed while the control has focus. A that contains the event data. is null. Handle keys related to scrolling. The key to handle. A value indicating whether the key was handled. Handle scrolling a page up or down. A value indicating whether the page should be scrolled up. A value indicating whether the scroll was handled. Provides handling for the KeyUp event. Event arguments. Provides handling for the MouseEnter event. Event arguments. Provides handling for the MouseLeave event. Event arguments. Provides handling for the MouseMove event. Event arguments. Provides handling for the event. A that contains the event data. Provides handling for the MouseLeftButtonUp event. Event arguments. Provides handling for mouse button events. A value indicating whether the event was handled. Provides handling for the GotFocus event. Event arguments. Provides handling for the LostFocus event. Event arguments. Raises the event when the property value changes. A that contains the event data. Change whether a TreeViewItem is selected. Item whose selection is changing. Container of the item whose selection is changing. A value indicating whether the TreeViewItem is selected. Update the selected value of the of the TreeView based on the value of the currently selected TreeViewItem and the SelectedValuePath. Value of the currently selected TreeViewItem. Select the first item of the TreeView. Focus the first item in the TreeView. A value indicating whether the item was focused. Focus the last item in the TreeView. A value indicating whether the item was focused. Gets the selected item in a . The currently selected item or null if no item is selected. The default value is null. Gets the value of the property that is specified by the property. The value of the property that is specified by the property, or null if no item is selected. The default value is null. Gets or sets the property path that is used to get the property of the property in a . The property path that is used to get the property of the property in a . The default value is . Gets or sets the that is applied to the container element generated for each item. The applied to the container element that contains each item. Gets the currently selected TreeViewItem container. Gets a value indicating whether the currently selected TreeViewItem container is properly hooked up to the TreeView. Gets or sets a value indicating whether the selected item is currently being changed. Gets the ItemsControlHelper that is associated with this control. Gets the helper that provides all of the standard interaction functionality. Gets a value indicating whether the Control key is currently pressed. Gets a value indicating whether the Shift key is currently pressed. Occurs when the value of the property changes. Overrides the item to allow for simple binding to the expanded property on the item. Returns a new container for an item. This method returns the container with an expanded binding. Returns the container with an expanded binding. A derived TreeViewItem for IsExpanded binding. Provides a selectable item for the control. Stable Represents a control that contains a collection of items and a header. Stable Identifies the dependency property. The identifier for the dependency property. Note: WPF defines this property via a call to AddOwner of HeaderedContentControl's HeaderProperty. HeaderProperty property changed handler. HeaderedItemsControl that changed its Header. Event arguments. Identifies the dependency property. The identifier for the dependency property. Note: WPF defines this property via a call to AddOwner of HeaderedContentControl's HeaderTemplateProperty. HeaderTemplateProperty property changed handler. HeaderedItemsControl that changed its HeaderTemplate. Event arguments. Identifies the dependency property. The identifier for the dependency property. ItemContainerStyleProperty property changed handler. HeaderedItemsControl that changed its ItemContainerStyle. Event arguments. Initializes a new instance of the class. Called when the value of the property changes. The old value of the property. The new value of the property. Called when the value of the property changes. The old value of the property. The new value of the property. Builds the visual tree for the when a new template is applied. Prepares the specified element to display the specified item. The container element used to display the specified item. The content to display. Prepares the specified container to display the specified item. Container element used to display the specified item. Specified item to display. The parent ItemsControl. The ItemContainerStyle for the parent ItemsControl. Prepare a PrepareHeaderedItemsControlContainer container for an item. Container to prepare. Item to be placed in the container. The parent ItemsControl. The ItemContainerStyle for the parent ItemsControl. Check whether a control has the default value for a property. The control to check. The property to check. True if the property has the default value; false otherwise. Gets or sets a value indicating whether the Header property has been set to the item of an ItemsControl. Gets or sets the item that labels the control. The item that labels the control. The default value is null. Gets or sets a data template that is used to display the contents of the control's header. Gets or sets a data template that is used to display the contents of the control's header. The default is null. Gets or sets the that is applied to the container element generated for each item. The that is applied to the container element generated for each item. The default is null. Gets the ItemsControlHelper that is associated with this control. The name of the ExpanderButton template part. The name of the Header template part. The ExpanderButton template part is used to expand and collapse the TreeViewItem. The Header template part is used to distinguish the bound Header content of the TreeViewItem. The ExpansionStates visual state group. A value indicating whether a read-only dependency property change handler should allow the value to be set. This is used to ensure that read-only properties cannot be changed via SetValue, etc. Identifies the dependency property. The identifier for the dependency property. HasItemsProperty property changed handler. TreeViewItem that changed its HasItems. Event arguments. Identifies the dependency property. The identifier for the dependency property. IsExpandedProperty property changed handler. TreeViewItem that changed its IsExpanded. Event arguments. Identifies the dependency property. The identifier for the dependency property. IsSelectedProperty property changed handler. TreeViewItem that changed its IsSelected. Event arguments. Identifies the dependency property. The identifier for the dependency property. IsSelectionActiveProperty property changed handler. TreeViewItem that changed its IsSelectionActive. Event arguments. A reference to the parent ItemsControl of a TreeViewItem. Initializes a new instance of the class. Returns a for use by the Silverlight automation infrastructure. A object for the . Builds the visual tree for the control when a new control template is applied. Provides handling for the ExpansionStates CurrentChanged event. The ExpansionState VisualStateGroup. Event arguments. Scroll the TreeViewItem into view. Update the visual state of the control. A value indicating whether to automatically generate transitions to the new state, or instantly transition to the new state. Update the visual state of the control. A value indicating whether to automatically generate transitions to the new state, or instantly transition to the new state. Creates a to display content. A to use as a container for content. Determines whether an object is a . The object to evaluate. True if is a ; otherwise, false. Prepares the specified container element to display the specified item. Container element used to display the specified item. The item to display. Removes all templates, styles, and bindings for the object displayed as a . The element to clear. The item that is contained in the . Makes adjustments to the when the value of the property changes. A that contains data about the change. Raise a RoutedEvent. Event handler. Event arguments. Raises an event when the property changes from false to true. A that contains the event data. Raises a event when the property changes from true to false. A that contains the event data. Handle changes to the IsExpanded property. Event handler. Event arguments. Raises the event when the property changes from false to true. A that contains the event data. Raises the event when the property changes from true to false. A that contains the event data. Provides handling for the event. A that contains the event data. Provides handling for the event. A that contains the event data. Handle the ExpanderButton's GotFocus event. The ExpanderButton. Event Arguments. Provides handling for the event. A that contains the event data. Provides handling for the event. A that contains the event data. Provides handling for the Header's MouseLeftButtonDown event. The Header template part. Event arguments. Provides handling for the ExpanderButton's Click event. The ExpanderButton. Event Arguments. Provides handling for the event. A that contains the event data. Provides handling for the event. A that contains the event data. Provides handling for the event when the has focus. A that contains the event data. Try moving the focus down from the selected item. A value indicating whether the focus was successfully moved. Provides handling for the event. A that contains the event data. Try moving the focus up from the selected item. A value indicating whether the focus was successfully moved. Handle scrolling a page up or down. A value indicating whether the page should be scrolled up. The ScrollViewer being scrolled. The height of the viewport. The top of item to start from. The bottom of the item to start from. The height of this item. A value indicating whether the scroll was handled. Calculate the distance between this TreeViewItem and the item being paged from. A value indicating whether the page should be scrolled up. The element being paged from. The ScrollViewer being scrolled. The top of item to start from. The bottom of the item to start from. The distance between the top/bottom of one item to the other. A value indicating whether the scroll was handled. Change the selected status of the TreeViewItem. A value indicating whether the TreeViewItem is selected. Update the ancestors of this item when it changes selection. A value indicating whether the item is selected. Unselection updates need to occur before selection updates because the old and new selected items may share a partial path. Determine whether the TreeViewItem should be allowed to handle a key event. A value indicating whether the key event should be handled. Navigate the focus to the next TreeViewItem below this item. A value indicating whether the focus was navigated. Navigate the focus to the very last TreeViewItem descendent of the this item. A value indicating whether the focus was navigated. Find the next focusable TreeViewItem below this item. A value indicating whether the item should recurse into its child items when searching for the next focusable TreeViewItem. The next focusable TreeViewItem below this item. Find the last focusable TreeViewItem contained by this item. The last focusable TreeViewItem contained by this item. Find the previous focusable TreeViewItem above this item. The previous focusable TreeViewItem above this item. Gets or sets the ExpanderButton template part is used to expand and collapse the TreeViewItem. Gets the Header template part that is used to distinguish the bound Header content of the TreeViewItem. Gets or sets the ExpansionStates visual state group. Gets or sets a value indicating whether a dependency property change handler should ignore the next change notification. This is used to reset the value of properties without performing any of the actions in their change handlers. Gets a value indicating whether this contains items. True if this contains items; otherwise, false. The default is false. Gets or sets a value indicating whether the contained by this are expanded or collapsed. True to indicate the contents of the collection are expanded; false to indicate the items are collapsed. The default is false. Gets or sets a value indicating whether this is selected. True if this is selected; otherwise, false. The default is false. Gets a value indicating whether the has focus. True if this has focus; otherwise, false. The default is false. Gets the helper that provides all of the standard interaction functionality. Gets or sets a value indicating whether the TreeView's currently selected item is a descendent of this TreeViewItem. Gets or sets a value indicating whether the TreeViewItem should ignore the next GotFocus event it receives because it has already been handled by one of its children. Gets or sets a value indicating whether checking ContainsSelection should actually perform the update notifications because the item was selected before it was in the visual tree. Gets or sets a value indicating whether a user initiated action caused the IsExpanded property to be set. Gets or sets a reference to the parent ItemsControl of a TreeViewItem. Gets a reference to the parent TreeViewItem of this TreeViewItem. Gets a reference to the parent TreeView of the TreeViewItem. Gets a value indicating whether this TreeViewItem is a root of the TreeView. Gets a value indicating whether the TreeViewItem can expand when it receives appropriate user input. Occurs when the property changes from true to false. Occurs when the property changes from false to true. Occurs when the property of a changes from false to true. Occurs when the property of a changes from true to false. Overrides the item to allow for simple binding to the expanded property on the item. Returns a new container for an item. Overrides the key down event to allow toggling the space. The key event arguments data. A specialized content control that contains a fixed header, a standard header content property, plus content. It is designed specifically for a "slide-based" user interface for simple user interfaces. The visual state group name for slide position. The visual state name for left position. The visual state name for right position. The normal visual state name for position. The content template part name. The header template part name. The fixed header template name. The manager of the slide and its siblings. Identifies the Header dependency property. Identifies the FixedHeader dependency property. Identifies the Position dependency property. PositionProperty property changed handler. Slide that changed its Position. Event arguments. Initializes a new instance of the Slide class. Remove the slide from the parent manager. Locate template parts and assign instances to fields during template application. Fires the slide changed event. Fires the current state changed event. The source object. The event arguments. Helps debugging by providing information about the slide name. Returns the name of the slide. Updates the visual state. A value indicating whether to use visual transitions for the state change. The slide position to use. Event fired when the current slide changes. Gets or sets the primary header content. Gets or sets the fixed header content. Gets or sets the position of the slide. Gets or sets the slide manager for the slide. A helper class to managing sets of slides. Initializes a new instance of the SlideManager class. Stores the linked list node for the current slide. Backing field for the set of slides. Adds a slide or an array of slides to the managed slide set. The slides to manage. Initializes the position of the slide based on location. The slide instance. A property indicating whether the slide is the first to be managed. Manages a new slide, inserting it after an existing slide node. The node to insert after. The new slide instance. Returns the linked list node that is inserted. Inserts a slide as the first in the linked list. The new slide instance. Returns the linked list node. Insert a slide after a provided linked list node. The node to insert after. The new slide to insert. Returns the new linked list node. Remove a slide from management. The slide instance. Move to the previous slide. Move to the next slide. Moves to a specific slide, moving the others to the appropriate direction on screen. The slide to move to. Move in a direction. A value indicating whether the direction to move is forward or not. Gets the current slide instance. Indicates the position that the slide should have. Normal position, centered on the screen. To the left of the screen. To the right of the screen. The TagEditor control provides a brief user interface allowing for the selection of a set of tests, used to filter the test run. Key used to lookup the TagHistory site setting. Key used to lookup whether the last run used tag expressions. Number of seconds to wait before running the test. Backing field for the last run used value. Initializes a new instance of the TagEditor type. Also includes a set of sample tags for display to the end user. The tag expression to use. Sample tags to display. Initializes a new instance of the TagEditor type. The tag expression to use. Initializes a new instance of the TagEditor type. Handles the key down event. The key event arguments. Fires the Complete event. The event arguments. Creates a new button. The button content. Returns a new Button instance. Handle selection of a tag button. Tag button. Event arguments. Handle changes to the Tag text. Tag TextBox. Event arguments. Handle clicks to the Run button. Run Button. Event arguments. Handle timer ticks. The timer. Event arguments. Stop the timer. Run the unit tests. Cancels the selection of a tag expression. The source object. The event data. InitializeComponent Gets or sets the timer used to automatically run tests if no tag is entered. Gets or sets the number of seconds already waited. Gets or sets the tag history. An event that indicates that the tag editor is complete. This can be in response to many actions: the user entering a tag expression, the time expiring and the default being selected, or the selection being canceled. A class for storing event information relating to a user's selected tag expression for a test run. Initializes a new instance of the TagExpression event arguments class. The tag expression. Gets the tag expression stored in the event arguments. Gets a value indicating whether a tag expression has been set. Displays information about any exceptions listed in the results. Initializes a new instance of the TestExceptionDetails class. InitializeComponent Details view for test method data. Initializes a new instance of the TestMethodDetails class. InitializeComponent A set of simple time helper methods. Returns a human-readable formatting of the time different between two DateTime instances. The starting time. The finishing time. Returns a human-readable string. Returns a human-readable formatting of the time different between two DateTime instances. The time span instance. Returns a human-readable string. A plural 's' as the suffix, when not equal to one. The string value. The number to check. Returns an empty string or the English plural 's'. Provides the necessary infrastructure to enable drawing connecting lines between the TreeViewItems in a TreeView. Experimental Gets the value of the ConnectingLineInfo attached property for a specified TreeViewItem. The TreeViewItem from which the property value is read. The ConnectingLineInfo property value for the TreeViewItem. Identifies the ConnectingLineInfo dependency property. Gets the value of the IsVerticalConnectingLineOf attached property for a specified Line. The Line from which the property value is read. The IsVerticalConnectingLineOf property value for the Line. Sets the value of the IsVerticalConnectingLineOf attached property to a specified Line. The Line to which the attached property is written. The needed IsVerticalConnectingLineOf value. Identifies the IsVerticalConnectingLineOf dependency property. IsVerticalConnectingLineOfProperty property changed handler. Line that changed its IsVerticalConnectingLineOf TreeViewItem. Event arguments. Gets the value of the IsHorizontalConnectingLineOf attached property for a specified Line. The Line from which the property value is read. The IsHorizontalConnectingLineOf property value for the Line. Sets the value of the IsHorizontalConnectingLineOf attached property to a specified Line. The Line to which the attached property is written. The needed IsHorizontalConnectingLineOf value. Identifies the IsHorizontalConnectingLineOf dependency property. IsHorizontalConnectingLineOfProperty property changed handler. Line that changed its IsHorizontalConnectingLineOf TreeViewItem. Event arguments. Gets the value of the IsExpanderButtonOf attached property for a specified ToggleButton. The ToggleButton from which the property value is read. The IsExpanderButtonOf property value for the ToggleButton. Sets the value of the IsExpanderButtonOf attached property to a specified ToggleButton. The ToggleButton to which the attached property is written. The needed IsExpanderButtonOf value. Identifies the IsExpanderButtonOf dependency property. IsExpanderButtonOfProperty property changed handler. ToggleButton that changed its IsExpanderButtonOf TreeViewItem. Event arguments. Gets the value of the IsHeaderOf attached property for a specified FrameworkElement. The FrameworkElement from which the property value is read. The IsHeaderOf property value for the FrameworkElement. Sets the value of the IsHeaderOf attached property to a specified FrameworkElement. The FrameworkElement to which the attached property is written. The needed IsHeaderOf value. Identifies the IsHeaderOf dependency property. IsHeaderOfProperty property changed handler. FrameworkElement that changed its IsHeaderOf TreeViewItem. Event arguments. Provides useful extensions to TreeView and TreeViewItem instances. Experimental Get the parent ItemsControl of an element. The element. The parent ItemsControl of an element, or null if not found. Get the ancestor ItemsControls of an element. The element. The ancestor ItemsControls of an element. Get the parent TreeViewItem of a TreeViewItem. The TreeViewItem. The parent TreeViewItem if found, otherwise null. is null. Get the parent TreeView of a TreeViewItem. The TreeViewItem. The parent TreeView if found, otherwise null. is null. Get the TreeViewItem containers of a TreeView. The TreeView. The TreeViewItem containers of a TreeView. is null. Get the child TreeViewItem containers of a TreeViewItem. The TreeViewItem. The child TreeViewItem containers of a TreeViewItem. is null. Get the items and TreeViewItem containers of a TreeView. The TreeView. The items and TreeViewItem containers of a TreeView. is null. Get the items and TreeViewItem containers of a TreeViewItem. The TreeViewItem. The items and TreeViewItem containers of a TreeViewItem. is null. Get the TreeViewItem containers of a TreeView. The TreeView. The TreeViewItem containers of a TreeView. is null. Get the descendant TreeViewItem containers of a TreeViewItem. The TreeViewItem. The descendant TreeViewItem containers of a TreeViewItem. is null. Get the descendant items and TreeViewItem containers of a TreeView. The TreeView. The descendant items and TreeViewItem containers of a TreeView. is null. Get the descendant items and TreeViewItem containers of a TreeViewItem. The TreeViewItem. The descendant items and TreeViewItem containers of a TreeViewItem. is null. Get the items and TreeViewItem containers of a TreeView or TreeViewItem. The TreeView or TreeViewItem. The items and TreeViewItem containers of a TreeView or TreeViewItem. Get the sibling items and containers of the item. The TreeViewItem. The sibling items and containers of the item. Get the TreeViewItems already created that are used to represent the given item. The TreeView. The item being represented. A sequence of TreeViewItems that represent the given item, or an empty sequence if none were found. is null. Get the TreeViewItem already created that is used to represent the given item. The TreeView. The item being represented. The TreeViewItems that represents the given item, or null if no container was found. If multiple TreeViewItems represent the same item, the first item found via a breadth-first search will be used. is null. Gets a path of items and TreeViewItem containers from the TreeViewItem to the root of the TreeView. The TreeViewItem. A path of items and TreeViewItem containers from the TreeViewItem to the root of the TreeView. is null. Gets a path of items and TreeViewItem containers from the TreeViewItem to the root of the TreeView. The TreeViewItem. A path of items and TreeViewItem containers from the TreeViewItem to the root of the TreeView. Get the item wrapped by this container. The TreeViewItem. The item wrapped by the container, or null if not found. is null. Get the item of the parent container for a specified . The TreeView containing the . The child item. The item of the parent container for the specified , or null if not found. Gets a value indicating whether the TreeViewItem is a root of its TreeView. The TreeViewItem. A value indicating whether the TreeViewItem is a root of its TreeView. is null. Gets a value indicating whether the TreeViewItem is a leaf in its TreeView. The TreeViewItem. A value indicating whether the TreeViewItem is a leaf in its TreeView. is null. Gets the depth of a TreeViewItem in its TreeView (using a zero-based index). The TreeViewItem. The depth of a TreeViewItem in its TreeView (using a zero-based index). is null. is not in a TreeView. Get the selected TreeViewItem in a TreeView. The TreeView. The selected TreeViewItem, or null if no selected item found. is null. Sets the selected TreeViewItem of a TreeView. The TreeView. The TreeViewItem to select. is null. Clear the selection of the TreeView. The TreeView. is null. Select an item in the TreeView. The TreeView. The item to select. A value indicating whether the item was successfully set as the TreeView's SelectedItem. is null. Gets the path to the TreeView's selected item. The TreeView. The path to the TreeView's selected item. is null. Recursively expand or collapse the TreeViewItem and all of its descendants. The TreeViewItem. A value indicating whether to expand or collapse. The number of levels that have already been collapsed or expanded. This is used in conjunction with the optional maximumDepth to only expand a specified number of layers. An optional depth that defines the number of layers to expand or collapse. Expand or collapse all of the descendants of the TreeView. The TreeView. A value indicating whether to expand or collapse. An optional depth that defines the number of layers to expand or collapse. Expand all of the items in a TreeView. The TreeView. is null. Collapse all of the items in a TreeView. The TreeView. is null. Expand a specified number of layers in a TreeView. The TreeView. The number of layers to expand. is null. Expand a path from the given item to the root of it's TreeView. The TreeViewItem. A value indicating whether to collapse siblings while expanding the path. This will result in only the path from the item to the root being expanded. Expand a path from the TreeViewItem to the root of the TreeView. The TreeViewItem. is null. Expand the path from the SelectedItem to the root of the TreeView. The TreeView. is null. Collapse all TreeViewItems except those along the path from the TreeView's SelectedItem to the root of the TreeView. The TreeView. is null. Expand the given path of items starting from the TreeView's root. The TreeView. The sequence of items corresponding to the path to expand. is null. is null. Expand the given path of items starting from the TreeView's root. The type of items provided in . The TreeView. The sequence of items corresponding to the path to expand. is null. is null. Expand the given path of items starting from the TreeView's root. The type of items provided in . The TreeView. A function that takes a TreeViewItem's item and returns a value to compare against elements of the given . The item itself will be used if is null. The sequence of items corresponding to the path to expand. is null. is null. Expand the given path of items starting from the TreeView's root. The type of items provided in . The TreeView. A function that takes a TreeViewItem's item and returns a value to compare against elements of the given . The item itself will be used if is null. The sequence of items corresponding to the path to expand. is null. is null. Gets the value of the IsChecked attached property for a specified TreeViewItem. The TreeViewItem from which the property value is read. The IsChecked property value for the TreeViewItem. Sets the value of the IsChecked attached property to a specified TreeViewItem. The TreeViewItem to which the attached property is written. The needed IsChecked value. Identifies the IsChecked dependency property. IsCheckedProperty property changed handler. The TreeViewItem that changed IsChecked. Event arguments. Gets the value of the AssociatedCheckBox attached property for a specified TreeViewItem. The TreeViewItem from which the property value is read. The AssociatedCheckBox property value for the TreeViewItem. Sets the value of the AssociatedCheckBox attached property to a specified TreeViewItem. The TreeViewItem to which the attached property is written. The needed AssociatedCheckBox value. Identifies the AssociatedCheckBox dependency property. AssociatedCheckBoxProperty property changed handler. The TreeViewItem that changed its AssociatedCheckBox. Event arguments. Get the sequence of items and containers with their IsChecked property set to True. The TreeView. The sequence of items and containers with their IsChecked property set to True. is null. Get the sequence of items and containers with their IsChecked property set to True. The TreeView. A value indicating whether to include TreeViewItems with an indeterminate IsChecked value. The sequence of items and containers with their IsChecked property set to True or also set to null if indeterminate values are included. is null. Gets or sets a value indicating whether recursive calls to OnIsCheckedPropertyChanged should ignore their notifications or process them accordingly. Gets or sets a value indicating whether recursive calls to OnIsCheckedPropertyChanged should update their children when their IsChecked value has changed. Represents a CheckBox whose value is associated with the TreeViewExtensions.IsChecked attached property of TreeViewItems. Experimental The parent TreeViewItem of the CheckBox. Initializes a new instance of the TreeViewItemCheckBox class. Associate the parent TreeViewItem with the CheckBox. Update the TreeViewItem's IsChecked property when this IsChecked property is changed. The CheckBox. Event arguments. Gets the parent TreeViewItem of the CheckBox. Represents the necessary information to draw connecting lines in a TreeViewItem. Experimental Initializes a new instance of the TreeViewItemConnectingLineInfo class. The TreeViewItem. Position the connecting lines in the TreeViewItem. Position the vertical connecting line in the TreeViewItem. Gets the TreeViewItem. Gets or sets the vertical connecting line of the TreeViewItem. Gets or sets the horizontal connecting line of the TreeViewItem. Gets or sets the expander button of the TreeViewItem. Gets or sets the header of the TreeViewItem. Used to convert TreeViewItems into a value based on their depth in the TreeView. Experimental Initializes a new instance of the TreeViewItemIndentationConverter class. Convert a TreeViewItem into a value based on the depth of the item in the TreeView. The TreeViewItem. The indentation type to convert to (such as Thickness or double). The number of pixels to indent each level of the TreeView. A default value of 15.0 will be used if no parameter is provided. The culture used to convert the TreeViewItem. A value based on the depth of the item in the TreeView. Wrap the indentation in the desired type. The number of pixels to indent the TreeViewItem. The indentation type to convert to (such as Thickness or double). A value based on the depth of the item in the TreeView. Convert an indentation back into a TreeViewItem. This always throws a NotSupportedException. The indentation. The type of the indentation. The number of pixels to indent each level of the TreeView. The culture used to convert the TreeViewItem. Always throws a NotSupportedException. A set of simple extension methods for applications. Checks whether the application host object is not null. The application instance. Returns a value indicating whether the object is not null. Checks whether the application host and its source object is not null. The application instance. Returns a value indicating whether the object is not null. A value converter for collapsing or showing elements. Convert a boolean value to a Visibility value. The value instance. The target parameter. ConverterParameter is of type Visibility. The culture parameter. Returns the object. Support two-way databinding of the VisibilityConverter, converting Visibility to a bool. The value instance. The target parameter. ConverterParameter is of type Visibility. The culture parameter. Returns the object. Determine the visibility mode based on a converter parameter. This parameter is of type Visibility,and specifies what visibility value to return when the boolean value is true. The parameter object. Returns a Visibility value. Determine whether or not visibility is inverted based on a converter parameter. When the parameter is specified as Collapsed, that means that when the boolean value is true, we should return Collapsed, which is inverted. The parameter object. Returns a value indicating whether the visibility is inverted. Visual states helper code. Gets the implementation root of the Control. The DependencyObject. Implements Silverlight's corresponding internal property on Control. Returns the implementation root or null. This method tries to get the named VisualStateGroup for the dependency object. The provided object's ImplementationRoot will be looked up in this call. The dependency object. The visual state group's name. Returns null or the VisualStateGroup object. Provides useful extensions for working with the visual tree. Since many of these extension methods are declared on types like DependencyObject high up in the class hierarchy, we've placed them in the Primitives namespace which is less likely to be imported for normal scenarios. Experimental Get the visual tree ancestors of an element. The element. The visual tree ancestors of the element. is null. Get the visual tree ancestors of an element and the element itself. The element. The visual tree ancestors of an element and the element itself. is null. Get the visual tree ancestors of an element and the element itself. The element. The visual tree ancestors of an element and the element itself. Get the visual tree children of an element. The element. The visual tree children of an element. is null. Get the visual tree children of an element and the element itself. The element. The visual tree children of an element and the element itself. is null. Get the visual tree children of an element and the element itself. The element. The visual tree children of an element and the element itself. Get the visual tree descendants of an element. The element. The visual tree descendants of an element. is null. Get the visual tree descendants of an element and the element itself. The element. The visual tree descendants of an element and the element itself. is null. Get the visual tree descendants of an element and the element itself. The element. The visual tree descendants of an element and the element itself. Get the visual tree siblings of an element. The element. The visual tree siblings of an element. is null. Get the visual tree siblings of an element and the element itself. The element. The visual tree siblings of an element and the element itself. is null. Get the bounds of an element relative to another element. The element. The element relative to the other element. The bounds of the element relative to another element, or null if the elements are not related. is null. is null. Perform an action when the element's LayoutUpdated event fires. The element. The action to perform. is null. is null. Retrieves all the logical children of a framework element using a breadth-first search. For performance reasons this method manually manages the stack instead of using recursion. The parent framework element. The logical children of the framework element. Retrieves all the logical descendents of a framework element using a breadth-first search. For performance reasons this method manually manages the stack instead of using recursion. The parent framework element. The logical children of the framework element. The CodeCoverage class is used to collect code coverage information from assemblies that have been instrumented to call the Visit function at the beginning of every basic block. A bit array used to track which basic blocks have been executed. A counter of the hit blocks. Record that a basic block is being executed. Id of the basic block. Get the coverage data serialized as a string for easy transport. Previous releases of the framework used a simplistic bit list, this release updates the coverage reporting endpoint to an alternate version that ends in base 64. This maintains test runner compatibility with previous official releases. Coverage data serialized as a string. Gets the current number of hit blocks. Gets the current size of the blocks counter. This is not actually the number of hit blocks, but it should return 0 always except when at least one block is hit. Base class for test cases that use special functionality of the Microsoft.Silverlight.Testing unit test framework. Tests that derive from CustomTest in most cases will not be source- or functionality- compatible with the more advanced desktop Visual Studio Test Team environment and harnesses. Process an exception using the test engine logic for ExpectedExceptions and logging the exception if needed. Exception object. Gets or sets a value indicating whether global unhandled exceptions should be intercepted by the test harness. Gets or sets the unit test harness instance. Hidden from the VS browser as test developers should not need to use this property. Gets the current test task container. The current container for the test's tasks. Manages the unit test status and model by attaching to the unit test harness instance. Validates that all key logging can be done without special hooks inside of the unit test harness implementation. The unit test harness instance. The test run data. Map assembly metadata to data objects. Map test class metadata to data objects. Map test metadata to data objects. Backing field for the last result. Backing field for the last failing result. Initializes a new instance of the DataManager type. The unit test harness instance. Initializes a new instance of the DataManager. The unit test harness instance. Returns a new instance of a DataManager class. Connect to unit test harness events for processing and updating the underlying unit test run model. Unhook from the unit test harness events. Process the starting of the test run. The source object. The event data. Process the test class starting event. The source object. The event data. Process the test class complete event. The source object. The event data. Process the start of a test method. The source object. The event data. Process the completion of test methods. The source object. The event data. Process a result. The result data. Gets or creates the data model object for an assembly. The test assembly. Returns the data object. Gets or creates the data model object for a test class. The test class. Returns the data object. Gets or creates the data model object for a test method. The test method. The parent test class data object. Returns the data object. Gets the unit test harness instance. Gets the unit test model. A data object storing the hierarchical results for a test assembly in a test run. A base class for model objects that implement the property changed interface, to simplify calling the change handlers, and cache the underlying event argument instances. A static set of change argument instances, eventually storing one argument instance for each property name to reduce churn at runtime. Notify any listeners that the property value has changed. The property name. The property changed event. A type that provides a string result report. Generates a simple text result report for the metadata. Reports a text report. Initializes a new instance of the TestAssemblyData type. The test assembly metadata. Backing field for the expanded property. Backing field for a passed value. Backing store for the set of test class. Retrieves the results report. Returns a string containing the report. Gets or sets a value indicating whether the item is expanded in a hierarchical display. Gets or sets the checked value. Don't think this is actually used. Gets or sets a value indicating whether the test passed. If failed, will propagate to the parent metadata object. Gets the name of the assembly. Gets an observable collection of test class data objects. A data object that generates property change notifications and can be used for rich data binding to test results. Does keep a reference to all results. Stores the test method metadata. Parent data object. A value indicating whether the test is currently executing. The test outcome. Backing field for linked data. Backing field for linked data. Backing field for linked data. Backing field for linked data. Initializes a new instance of the TestMethodData type. The test method metadata. The test class that is the parent object. Runs through the metadata for bugs. Backing field for known bugs. Backing field for bugs that are marked fixed. Calculates whether the item is considered "notable", in that it should have a visual cue or hint for the user. Stores a value indicating whether the result is notable. Backing field for the checked property. Backing field for the expanded property. Retrieves the results report. Returns a string containing the report. Gets or sets the result of the test method. Gets the known bugs for display in the UI. Gets the fixed bugs for display. Gets the expected exception name for a negative test, if any. Gets a simplified exception stack trace that omits the trace below the invoke of the test method by the test framework. Gets the short, simple name of the exception type recorded in the test result, if any. Gets a value indicating whether the method has results. Gets a value indicating whether the method has passed. Returns true until there is a result. Gets or sets a value indicating whether the test method is running. Gets or sets a value indicating whether the result is notable. Notable is defined as either currently running, or not having passed. This can allow a user interface to react to an interesting result. Gets the parent data object. Gets an instance of the actual metadata object. Gets the name of the test method. Gets a visibility value to allow for easy showing or hiding of a user interface component that displays the description. Returns a visibility value. Gets the elapsed time in a readable format. Returns a string of the readable time elapsed. Gets the description of the test method. Gets or sets a value indicating whether the item is checked in the user interface. Gets or sets a value indicating whether the item is expanded in a hierarchical display. Gets or sets the previous result. Gets or sets the next result. Gets or sets the previous failing result. Gets or sets the next failing result. A provider of code coverage information to an external process. The base class for test service providers. Initializes a new base provider class. The owning test service provider. The display name of the service. Initializes the provider. Increments the busy service counter. Decrements the busy service counter. Invokes a method on this provider using reflection. The name of the method. The optional parameters. Call the InitializeCompleted event. Performs a callback. Null action and/or result are permitted. The optional callback action. The result to pass back. Event fired once initialization is complete. Gets the display name for the provider. Gets the owning test service. Gets a value indicating whether the provider has been initialized yet. Initializes a new code coverage provider. The test service. Save string-based code coverage data. The code coverage data, as a string. The callback action. A provider of environment variables and environmental information that uses the test service provider infrastructure. Initializes a new environment provider. The test service. Retrieve an environment variable from the system. The variable name. The callback action. Miscellaneous internal extension methods. Attempts to retrieve a custom assembly attribute. The type of attribute to retrieve. The assembly reference. An out attribute reference. Returns true if the attribute is found. Transform the XElement into a dictionary of key/value pairs. The type of enumeration. The key type. The value type. The root enumerable. The key selector. The item selector. Returns a new dictionary. A type that stores global settings in the isolated storage for the application. An implementation of the type. A provider of string dictionary values. Initializes a new SettingsProvider object. The test service. Initializes a new SettingsProvider object. The test service. The service name. Saves the settings. Classes that inherit from SettingsProvider: hide this function. Do not call up through to this base method. The service callback. Gets the settings dictionary. Gets a value indicating whether the settings are read-only. Gets the settings source for end-user display. The unique key used for storing the test framework's settings dictionary. The underlying settings object. Initializes a new isolated storage settings provider. The test service instance. Initializes the isolated storage settings provider. Saves the current settings values. The service completion callback. Recalls the stored settings values from isolated storage. Initialize the isolated storage application settings object. Result object for asynchronous test service response. Creates a new ServiceResult object for a failed result, the sets the exception. The Exception object. Returns a new ServiceResult with the Exception set. The result LINQ element. Initializes a new instance of the ServiceResult class. Process the response text. Attempt to process and return the root element of a successful request. Returns null if there was an Exception. The root XML element of the response. Sets the result. The LINQ element for the result. Gets or sets a value indicating whether the result has been processed. Gets or sets the exception intercepted or generated during the request or processing timeframe. Gets the root XElement of the test service result. Gets a value indicating whether the request was successful. The type of test service in use. Used by the more advanced service scenarios in SilverlightTestServiceProvider. No service, or unknown service type. A direct connection, be it the file system, isolated storage, or similar. A web service. The Silverlight test service provider is built for compilation with Silverlight builds of the test framework. Populates with the important providers for web browser-hosted test runs. The Silverlight test service provider is built for compilation with Silverlight builds of the test framework. Populates with the important providers for web browser-hosted test runs. A system that provides test services. The dictionary of services registered with this provider instance. Initializes a new test service provider instance. Initializes the provider and all of its test services. Initialize all services and features synchronously. Register a new service that the test service should expose. Known feature type. Instance of the feature's type. Register a new service that the test service should expose. String name of the feature if the known enum value does not exist. Instance of the feature's type. Unregisters a feature. Known feature type. Unregisters a feature. Known feature type string. Check if a requested feature is supported by the test service provider. Feature of interest. A value indicating whether the feature exists. Check if a requested feature is supported by the test service provider. Feature of interest. A value indicating whether the feature exists. Retrieve a feature. An exception will be thrown if the service does not exist. Type of a service, ProviderBase. The feature of interest. Returns the feature, cast properly. Retrieve a feature. Feature of interest. The feature's provider. Retrieve a feature. Feature of interest. The service or null if one was not present. Require a feature, or throw an exception if it isn't available. Feature of interest. The required type. The service or null if one was not present. Require a feature, or throw an exception if it isn't available. Feature of interest. The required type. The service or null if one was not present. Require a feature or interest. Feature of interest. The service or null if one was not present. Requires a service. Feature of interest. The service or null if one was not present. Check for and required the presence of a service. Throws an InvalidOperationException message if the service is unavailable. Feature of interest. The service or null if one was not present. Require a specific feature, and that it can be cast properly. Feature of interest. The type to verify assignment for a cast. The service or null if one was not present. Looks for a specific service. Feature of interest. The service or null if one was not present. Gets or sets a unique test run identifier, if any is present. Gets or sets an integer value that can be used to manage simple reference counting services. The service verifier and information. Initializes a new instance of the SilverlightTestService class. Initializes a new instance of the SilverlightTestService class. Unit test settings to read the service path and other information from. Initializes the Silverlight test service. Performs a service check if needed before initializing the other providers. Sets the custom ID information for the test run, if passed into the run. Determine the service path to attempt to use, and prepares the verification object using those parameters. Unit test settings object to try and read settings from. Pauses the initialization process to attempt a service connection. The result will alter the underlying ServiceType being used by this provider to ensure a fallback experience can be used. This verification step will block the initialization and entire test run until it continues. Continues the initialization process for the test service provider. Populates with the standard providers for Silverlight in-browser testing. Gets the service type that is in use. Gets the web service proxy. A special verification class used by SilverlightTestService. The name of a simple 'ping' method exposed by the service. Attempts to verify the service connection. Calls the proper success/failure Action once a verification result is possible. The Action to call upon connection verification. An Action to call upon failure. Gets or sets the service hostname. Gets or sets the service port. Gets or sets path to the simple POX service. Gets the URI to the service. A test service that reports test run results. Initializes a new reporting provider instance. The test service. Begins a call to the test service to write to the log. The callback, used to read or verify results from the service call. The name of the log to write. The log file content. Begins a call to the test service to report a test run's results. The callback, used to read or verify results from the service call. A value indicating whether the test run was a failure. The failed scenario count. The total scenario count. Any message to report along with the failure. Set of known, well-defined test service features. Code coverage reporting. Provides run parameters and settings. Provides test reporting services. Provides environment information. A provider of code coverage information to an external process. The MethodName_SaveCodeCoverage method name. Initializes a new code coverage provider. The test service. Save string-based code coverage data. The code coverage data, as a string. The callback action. A provider of environment variables and environmental information that uses the test service provider infrastructure. The MethodName_GetEnvironmentVariable method name. Initializes a new environment provider. The web test service. Retrieve an environment variable from the system. The variable name. The callback action. Result object for asynchronous test service response that uses a simple web service / POX call. Initializes a new web service result. The request object. The response object. Initializes a new web service result. The request object. The response object. The details to associate for debugging purposes. Reads the web response, if successful, and parses out the string content. Process the response text. Gets the web request associated with the service call. Gets the web response associated with the service call. Gets the details of the request, used for interactive debugging sessions only. Gets the string retrieved from the response. A test service that reads command line settings. Name of the method MethodName_GetRunParameters. Initializes a new settings provider instance. The test service. Initialize the web settings provider. Read the run parameters. The service result. A test service that reports test run results. Name of the method MethodName_ReportTestResults. Name of the method MethodName_WriteLog. Initializes a new reporting provider instance. The test service. Begins a call to the test service to write to the log. The callback, used to read or verify results from the service call. The name of the log to write. The log file content. Begins a call to the test service to report a test run's results. The callback, used to read or verify results from the service call. A value indicating whether the test run was a failure. The failed scenario count. The total scenario count. Any message to report along with the failure. Provides out-of-process access to operating system functions and other services such as visual verification, if present. Provides out-of-process access to operating system functions and other services such as visual verification, if present. Provides out-of-process access to operating system functions and other services such as visual verification, if present. The service address. The synchronization context. Initializes a new plain-old-XML test service. This assumes that the caller has already verifier that a service is present and responding at the service address. The base service URI, such as "scheme://hostname:port/servicePath/". Creates a simple REST-style Uri given the method/service name and a dictionary of key/value pairs to send as arguments. The method/service name. A set of key/value pairs. Returns a new Uri. Creates a simple REST-style Uri given the method/service name and a dictionary of key/value pairs to send as arguments. The method/service name. A set of key/value pairs. Optional query string. Returns a new Uri. Builds a simple dictionary from parameters. The value follows the key parameter. {[key, value], } ... The ToString() method is called on every object. The parameters. Returns a key/value dictionary from the parameters. Begin a POX method call. The callback is used with the result when it becomes available. The method name. The callback action. Begin a POX method call. The callback is used with the result when it becomes available. The method name. Dictionary of key/value pairs. The callback action. Begin a POX method call. The callback is used with the result when it becomes available. The method name. Dictionary of key/value pairs. Optional string that will transform the request to a POST request. The callback action. The intermediate step that writes the POST data and then continues the web request. The async result object. Process the response callback from a POX method call. The async result object. On the UI thread, invoke the callback action with the result. The temporary state object. A simple type to store the state information for the cross-thread callback. Initializes a new TemporaryStateObject object. The callback action. The result object. Gets the callback action. Gets the result object. The request data class, stores information used in a request for associating this data with the response. Initializes a new request data object. The request Uri. The request object. The callback action. Converts the request data object into a web service result object. The response object. Returns a new WebServiceResult instance. Gets or sets the optional post data for the request. Gets the web request. Gets the request Uri. Gets the callback action. A type which handles preparing the underlying dispatcher or timer from which the test work items execute. Handle calling into the test framework as needed to perform the test run, process the internal test dispatcher queue, and keep execution moving forward. Delegate that returns whether more work remains and runs the next set of work. Backing field for a value indicaing whether the dispatcher should be running. Creates a new RunMethodManager, taking in a conditional delegate to run for each step to see if more work remains. The conditional delegate that performs work and indicates whether additional work remains. Create a new run method manager object. Conditional indicating whether more work will remain after performing the work. Returns the run method manager. Typically depends on the execution platform and environment. Create a new run method manager object. Conditional indicating whether more work will remain after performing the work. A Dispatcher instance. Returns the run method manager. Typically depends on the execution platform and environment. A completely synchronous implementation, unless overridden, that calls RunNextStep() until the harness is finished. The default implementation will not work with a presentation-rich test environment. Calls a conditional delegate, and returns whether there is more work to be done. Returns a value indicating whether there is additional work remaining after executing the current work. Calls the Complete event handler. Event that is called when all work is complete. Gets or sets a value indicating whether the dispatcher should be running. Stored Dispatcher instance. Sets up a new run method manager. Conditional delegate which returns true as long as there is additional work. An instance of the dispatcher to use. Begin the execution process by hooking up the underlying DispatcherTimer to call into the test framework regularly and perform test work items. A data object that generates property change notifications and can be used for rich data binding to test results. Does keep a reference to all results. Parent object reference. Initializes a new instance of the TestClassData type. The test class metadata. The parent test assembly data object. Backing store for the set of test class. Backing field for the expanded property. Collapses the test class node unless there is at least one child test method that failed. Backing field for a passed value. Retrieves the results report. Returns a string containing the report. Gets the parent data object. Gets the name of the test class. Gets the namespace for the test class. Gets an observable collection of test class data objects. Gets or sets a value indicating whether the item is expanded in a hierarchical display. Gets or sets the checked value. Don't think this is actually used. Gets or sets a value indicating whether the test passed. If failed, will propagate to the parent metadata object. A data object that generates property change notifications and can be used for rich data binding to test results. Does keep a reference to all results. The unit test harness instance. Backing field for information about the test application in use. Initializes a new instance of the test run results. The unit test harness. Backing store for the set of test assemblies. Title backing field. Stores the total number of expected scenarios. Stores the current test information. Stores the current test information. Stores the number of run scenarios. Count of failed scenarios. Backing field for whether the app is running. Gets the test application information instance. Gets the unit test harness instance. Gets an observable collection of test assembly data objects. Gets or sets the informational run title. Gets or sets the number of total scenarios. Gets or sets the current test name. Gets or sets the current test name. Gets or sets the number of run scenarios. Gets or sets the number of failed scenarios. Gets a value indicating whether the run is complete and passed. Gets a value indicating whether all passing results have been processed. Gets the number of passed scenarios, defined as the number of run scenarios minus the number of failed scenarios tracked. Gets a value indicating whether the dispatcher is currently running. Gets a value indicating whether the test run is in action. Assembly complete event arguments. Generic unit test harness event arguments base class that contains a reference to the harness. Initializes a new instance of the UnitTestHarnessEventArgs class. The test harness. Gets the unit test harness reference. Initializes a new instance of the TestAssemblyCompletedEventArgs type. The assembly metadata. The test harness instance. Gets the assembly metadata. Test assembly starting event arguments. Initializes a new instance of the TestAssemblyStartingEventArgs type. The assembly metadata. The unit test harness instance. Gets the assembly metadata information. The test class completed event arguments. Initializes a new instance of the TestClassCompletedEventArgs class. Test class metadata. The harness instance. Gets the test class metadata. Information about the start of a test class event. Initializes a new instance of the TestClassStartingEventArgs type. The test class metadata. The unit test harness reference. Gets the test class instance. Test method starting event arguments. Initializes a new instance of the TestMethodStartingEventArgs type. The test method metadata. The test class metadata. The test harness instance. Gets the test method metadata. Gets the test class metadata. Test method completed event arguments, contains the result. Initializes a new instance of the TestRunStartingEventArgs type. The test run filter. The test run settings object. Gets the unit test run settings. Gets the test run filter. Gets or sets the test harness name. Gets or sets the number of valid, enqueued assemblies scheduled. Tag attribute used to associate individual test cases with tags to easily test related functionality. The infrastructure associated with the TagAttribute is not yet in place. List of reserved words that cannot be used as tags. This list should be shared with the tag parser implementation when available. List of reserved characters that cannot be used in tags. This list should be shared with the tag parser implementation when available. Initializes a new instance of the TagAttribute class. Tag associated with the test method or class. Gets the tag associated with the test method or class. Set of extension methods used by the harness. An AddRange implementation for the generic IList interface. The list type. The list object. The collection to copy into the list. Replace a list's contents with the items in the IEnumerable. The list type. The list object. The sequence to copy into the list. The IProvideDynamicTestMethods interface is used to provide additional test methods dynamically at runtime. Get the dynamic test methods. Sequence of dynamic test methods. A type filter for just a specific test. Allows the re-running of a single result again in the same process. A type to filter down complete sets of classes, tests and methods. The default unit test run name. Unit test settings. Initializes a new test run filter using an existing settings file. A unit test settings instance. The unit test harness. Retrieve a set of test classes from a test assembly. The test assembly metadata object. Test class instance dictionary. Returns a new list of test class metadata objects. Sort the test classes if the settings for alphabetical sorting are present. List of test classes. Filter out tests based on the standard-supported methods. List of test classes. Test class instance dictionary. Perform any custom filtering that the TestRunFilter needs. List of test classes. Test class instance dictionary. If specific string-contains filters are present. List of test classes. Test class instance dictionary. If any exclusive classes are found, filter them. List of test classes. Test class instance dictionary. Retrieves the test methods from a test class metadata object. The test class metadata object. The test class instance. Returns a list of test method metadata objects. Filter the test methods. List of test methods. Perform any custom filtering that the TestRunFilter needs. List of test methods. If any exclusive classes are found, filter them. List of test methods. Sorts the test methods, if requested. List of test methods. Gets a friendly name for the test run. Gets the unit test harness. The test class. The test method. Initializes a new test run filter using an existing settings file. The test class metadata. The test method metadata. Retrieve a set of test classes from a test assembly. The test assembly metadata object. Test class instance dictionary. Returns a new list of test class metadata objects. Retrieves the test methods from a test class metadata object. The test class metadata object. The test class instance. Returns a list of test method metadata objects. A helper class that manages tags and associated metadata. Tag expressions are evaluated at the TestClass level. A helper class that manages tags and associated metadata. Tag expressions are evaluated at the TestClass level. A helper class that manages tags and associated metadata. Tag expressions are evaluated at the TestClass level. The prefix for any tags generated from priority values. A reference to the tag attribute type. The test tags associated with the class. The test tags associated with methods. The ability to grab the set of methods, given a test class type, and the tag of interest. The test class type. Initializes a new tag manager. The test class type. The set of methods to run. Reflect, read and prepare the tags for the class metadata. Performs the work if this is the first time the metadata has been seen. The reflection object for the test class. Reflect, read and prepare the tags for the method metadata. Performs the work if this is the first time the metadata has been seen. The method metadata. Get the test methods that correspond to a tag expression. Tag expression. Test methods for the tag expression. Gets or sets the universe of all test methods for expression evaluation. Evaluate tag expressions. Tag expressions are derived from the following EBNF grammar: {Expression} := {Expression} + {Term} | {Expression} - {Term} | {Term} {Term} := {Term} * {Factor} | {Factor} {Factor} := !{Factor} | ({Expression}) | {Tag} {Tag} := All | [^InvalidCharacters]+ The non-terminals for {Expression} and {Term} will be left factored in the recursive descent parser below. Union character. Intersection character. Complement character. Difference character. The "All" string constant. Invalid characters in a tag name. Evaluate a tag expression. The owner object. Tag expression. Test methods associated with the tag expression. The owning TagManager instance. Expression being evaluated. Current position in the expression. Create an expression evaluator. The owner object. Expression object. Match a sequence of characters. String to match. Try to match a sequence of characters. String to match. Returns a value indicating whether the match was successful. Evaluate an expression. Test methods described by the expression. Evaluate an expression. Test methods described by the expression. We need to factor out left recursion, so: {Expression} := {Expression} + {Term} | {Expression} - {Term} | {Term} becomes: {Expression} := {Term}{Expression'} {Expression'} := #empty# + {Term}{Expression'} - {Term}{Expression'} Evaluate an expression. Left term already read as part of the expression. Test methods described by the expression. Non-terminal created for left-factoring: {Expression'} := #empty# + {Term}{Expression'} - {Term}{Expression'} Evaluate a term. Test methods described by the expression. We need to factor out left recursion, so: {Term} := {Factor} * {Term} | {Factor} becomes: {Term} := {Factor}{Term'} {Term'} := #empty# ^ {Factor}{Term'} Evaluate a term. Left term already read as part of the expression. Test methods described by the expression. Non-terminal created for left-factoring: {Term'} := #empty# ^ {Factor}{Term'} Evaluate a factor. Test methods described by the expression. {Factor} := !{Factor} | ({Expression}) | {Tag} Creates a new empty collection. Returns an empty collection. Evaluate a tag. Test methods described by the expression. {Tag} := All | [^InvalidCharacters]+ A string list for storing tags. Provides an Add method that takes an attribute object and, if a TagAttribute, will append its tag value to the list. Initializes a new Tags instance. Initializes a new Tags instance from an existing collection. The collection to copy. Adds a TagAttribute's tag value. The tag object. A method and class filter that uses expressions and the TagAttribute. The name to use for the test run when the tag expression is null. Initializes a new test run filter with the tag expression setting. Unit test settings. Unit test harness. Initializes a new test run filter with the tag expression. Unit test settings. Unit test harness. The tag expression to use. Sets the tag expression property. The tag expression to use. A value indicating whether the warning has been logged yet. Apply tag filtering. List of test classes. Test class instance dictionary. Apply tag filtering. List of test methods. Apply the tag filtering. The tag manager instance. Set of methods. Exclusive attributes are not supported when also using tagging. List of test classes. Test class instance dictionary. Exclusive attributes are not supported when also using tagging. List of test methods. Gets the tag expression in use by the run filter. Helper code for TestAssembly logic. Check whether [Exclusive] attribute is present on any classes. Collection of class metadata objects. Returns a value indicating whether any of the classes include an [Exclusive] attribute. Sorts the test classes alphabetically by name. A list of test class metadata objects. Test class helper. A value indicating whether the warning has been logged in this run. Filter the set of test classes by removing unused classes. The input list of test class metadata objects. The classes to run. Look through the classes for the [Exclusive] attribute. If found, remove any classes where the attribute is not present. The input list of classes. The log writer object. Look for the /p:FilterClass parameter in the test harness settings. Try to do a substring match on all filtered test classes. The parameters. List of test classes to be filtered. Test method completed event arguments, contains the result. Initializes a new instance of the TestMethodCompletedEventArgs type. The result instance. Initializes a new instance of the TestMethodCompletedEventArgs type. The result instance. The unit test harness. Gets the test method result. Helper code for TestMethod logic. A value indicating whether the warning has been logged in this run. Check whether [Exclusive] is present on >= 1 of the methods. The methods to search through. True if at least one of the methods has Exclusive. Look through the methods for the [Exclusive] attribute. If found, remove any methods where the attribute is not present. The methods to filter. The log writer object. A helper utility for firing events as the unit test harness from any component, internal or not. Enables expansion. Stored instance of the harness. Initializes a new intance of the UnitTestHarnessEvents helper. The harness reference. Calls the test assembly starting event. The event data. Calls the test assembly completed event. The event data. Calls the test class starting event handlers. The event data. Calls the test class completed event. The event data. Calls the test method starting event. The event data. Calls the test method completed event. The event data. Calls the test run starting event. The event data. A factory for creating the unit test objects. The unit test harness. Initializes a new unit test logic factory. The unit test harness reference. Creates a new AssemblyManager. The unit test provider. The run filter. The unit test assembly metadata object. Returns a new AssemblyManager. Creates a new TestClassManager. The unit test provider. The run filter. The test class metadata. The test class instance. Returns a new TestClassManager. Creates a new TestMethodManager. The unit test provider. The test class metadata. The test method metadata. The test class instance. Returns a new TestMethodManager. A log provider that outputs in a simple custom test format that Visual Studio recognizes. A log provider that outputs in a simple custom test format that Visual Studio recognizes. LogProvider interface with a single Process method that handles a LogMessage object. A dictionary of conditional action handlers. A dictionary of types/actions for handling specific types of log messages. Perform any needed operations to log the message. Instance of LogMessage type. Method that processes any messages not handled any other way. The log message. Registers an action for a specific message type. The type of interest. The handler for the type. Takes a LogMessage parameter. Registers a conditional handler. During the log message processing step, all conditional callbacks will be tried. The first positive result will then call the associated processing Action for that conditional method entry. A conditional callback that takes a LogMessage input parameter. A log message processing Action that is called when the condition is true. Removes a conditional callback. The condition. Clear all existing conditional handlers. Clear all existing message type handlers. Interface for LogProviders that want access to external test settings. Initializes the provider. The settings. The filename to use for saving test results. The default test adapter type name. The default test list name. The default computer name. The default user name. The default configuration name. The default configuration description. The Visual Studio log format writer. Initializes a new instance of the VisualStudioLogProvider class. Register the handler conditions of interest to this log provider. Assembly start code. The log message. Process an Exception that was not the expected Exception type. The log message. Process an Exception that is logged or stored. The log message object. Sets the test run configuration information when the test assembly begins processing. The test assembly metadata object. Generate a name for the test run that will be used when displaying the result in Visual Studio. The test assembly metadata object. Returns the test run name. Generates a new Guid string value. Returns a new Guid string value. Process a UTF result message. The log message object. Process [Bug(...)]. A KnownBugLogMessage object. The run filter has been selected. The log message object. Saves the log file data. The unit test harness. Initializes the test harness. The test harness settings. Gets or sets the test results filename. Gets or sets the test adapter type name reported in the Visual Studio results log file. Gets or sets the TestRunId. Gets or sets the test list name. Gets or sets the computer name that is reported in the results log file. Gets or sets the user name that is reported in the results file. Gets or sets the TestRunConfigurationName. Gets or sets the TestRunConfigurationDescription. Gets or sets a prefix for use in the test run name. Gets or sets the TestRunConfigurationId. Gets the current assembly name. A log provider that outputs in a simple custom test format that Visual Studio recognizes. This is a simple, subset writer. Date time format string representing round-trip date/time pattern. A unique ID representing the Visual Studio unit test type ID. The namespace for Visual Studio team test results. Was of XNamespace type in XLinq implementation. A dictionary containing test list names and guids. Stores temporary, pending elements for the next result. Initializes a new Writer object. Stores property values in the respective elements, clears any lookup dictionaries. Returns a string value of the DateTime object. The DateTime object. Returns the formatted string. Returns the XML log file as a string. The XML value. Creates the initial results document and its XElements. Creates a new XElement within the results XML namespace. The element name. Returns a new named element. The total number of scenarios. The set of outcomes and counts. Increment the number of passing results. The test outcome. Adds the result of a test method into the log. The test metadata. The storage value. The code base value. The adapter type name. The class name. The test list name. The computer name. The start time. The end time. The outcome. Adds a WriteLine to the next result to be processed. The text to output. Adds an error message to the next result to be processed. The message. Adds an Exception to the next result to be processed. The Exception object. Adds pending output for the next result. The element to wrap in an Output element. Returns the GUID for a test list name. The result is stored in memory. The test list name. Returns the test list name guid. Gets or sets the time that the test run started. Gets or sets the time that the writer object and/or test run was created. Gets or sets the time that the test run was finished. Gets the root XML node for the test run and its results. Gets or sets the test type ID used for new results. Gets the TestRunConfiguration element. Gets the Counters element. Gets the TestDefinitions element. Gets the TestLists element. Gets the TestEntries element. Gets the Times element. Gets the ResultSummary element. Gets the Results element. Sets the TestRunId. Sets the TestRunName. Sets the TestRunUser. Sets the TestRunConfigurationName. Sets the TestRunConfigurationId. Sets the overall run outcome value. Sets the TestRunConfigurationDescription. A user control that should be used as the root visual for a Silverlight plugin if developers would like to use the advanced TestSurface functionality within Microsoft.Silverlight.Testing. The TestSurface is automatically cleared after each test scenario completes, eliminating the need for many additional cleanup methods. Initializes the TestPage object. InitializeComponent Gets the test surface, a dynamic Panel that removes its children elements after each test completes. A log provider that outputs failures as a string. A list of failing results. Initializes a new TextFailuresLogProvider instance. Retrieve the text log of all failures in the unit test run. Returns the log contents. Register the handler conditions of interest to this log provider. Process a UTF result message. The log message object. A user control that should be used as the root visual for a Silverlight plugin if developers would like to use the advanced TestSurface functionality within Microsoft.Silverlight.Testing. The TestSurface is automatically cleared after each test scenario completes, eliminating the need for many additional cleanup methods. Backing field for the unit test harness instance. Backing field for the model manager. Backing field for the startup timer. Backing field for a value indicating whether the clipboard feature is supported. Initializes the TestPage object. Initializes the TestPage object. The test harness instance. Waits for the Settings to become available, either by the service or system setting the instance property. The source timer. The event arguments. Starts the test run. Handles the test assembly starting event to expand the test stage height. The source object. The event data. Handles the test harness complete event, to display results. The source object. The event data. Handles the click on the test stage. The source object. The event data. Expand and collapse the test stage. A value indicating whether to expand the stage. Handles the completion of a test method. The source object. The event arguments. Handles the completion event on the tag expression editor to begin the test run using the user-provided settings. The source object. The event arguments. Handles navigation back or forward. The source object. The event arguments. Installs the application. The source object. The event arguments. Offers clipboard interface support for copying test run results. The source object. The event arguments. Handles the click on a play/pause button for the run dispatcher. The source object. The event arguments. Copies text into the clipboard. If the Silverlight runtime on the system does not support the clipboard API, then it reverts to a large text box that allows the user to manually copy and paste. The text to set. InitializeComponent Gets the test surface, a dynamic Panel that removes its children elements after each test completes. Gets the unit test harness instance. Gets the tree view instance. A strongly-typed resource class, for looking up localized strings, etc. Returns the cached ResourceManager instance used by this class. Overrides the current thread's CurrentUICulture property for all resource lookups using this strongly typed resource class. Looks up a localized string similar to There are no remaining test work items. Looks up a localized string similar to Exception: Type "{0}" Message "{1}". Looks up a localized string similar to Ignoring "{0}". Looks up a localized string similar to Incorrect exception type "{0}" received. Was expecting a "{1}" type.. Looks up a localized string similar to No Exception was observed. Was expecting a "{0}" type exception.. Looks up a localized string similar to Tag cannot be empty!. Looks up a localized string similar to The tag "{0}" contains the invalid character "{1}"!. Looks up a localized string similar to Tag "{0}" is reserved!. Looks up a localized string similar to tagExpression cannot be empty!. Looks up a localized string similar to Expected end of tag expression "{0}" at position {1}!. Looks up a localized string similar to Tag expected in expression "{0}" at position {1}!. Looks up a localized string similar to Invalid tag expression "{0}" (expected "{1}" at position {2})!. Looks up a localized string similar to Tag expression "{0}" is in use.. Looks up a localized string similar to Exclusive classes are in use. Looks up a localized string similar to Exclusive methods are in use. Looks up a localized string similar to The known issue could not be verified. A failure will be recorded. If this bug has been fixed, please mark the Fixed attribute value to True.. Looks up a localized string similar to No TestHarness is available.. Looks up a localized string similar to The "{0}" functionality is not supported within this unit test system.. Looks up a localized string similar to Initialization of UnitTestHarness. Looks up a localized string similar to No composite work items exist to be cleared.. Looks up a localized string similar to No test classes were selected to be in the test run.. Looks up a localized string similar to Test harness was not specified on test harness settings object. If a test harness settings object was passed in, please verify that it contains a reference to a test harness.. Looks up a localized string similar to Test bug: A test cannot use Test Task objects, such as callbacks and conditionals, or the PumpMessages feature, unless marked with the [Asynchronous] attribute.. A central entry point for unit test projects and applications. A central entry point for unit test projects and applications. Friendly unit test system name. A partial method for PrepareDefaultLogManager. The test harness settings. A partial method for setting the TestService. The test harness settings. Creates a new TestPage visual that in turn will setup and begin a unit test run. A new RootVisual. Assumes the calling assembly is a test assembly. Creates a new TestPage visual that in turn will setup and begin a unit test run. Test harness settings to be applied. A new RootVisual. Assumes the calling assembly is a test assembly. Merge any settings provided by a test service with the parameters that were passed inside the TestHarnessSettings. The test service. The run settings. Initializes the test service and its contained providers. The run settings. Action to call once the test service is initialized and ready to continue the run's execution. Register another available unit test provider for the unit test system. A unit test provider. Test harness instance. Start a new unit test run. Unit test settings object. Prepares the default log manager. The test harness settings. Tries to instantiate and initialize a VSTT provider. Requires that XLinq is available and included in the application package. The test harness settings object. Creates the default settings that would be used by the UnitTestHarness if none were specified. A new RootVisual. Assumes the calling assembly is a test assembly. Call the TestHarnessCompleted event. The test harness completed event arguments. Create a default settings object for unit testing. The assembly reflection object. A unit test settings instance. Gets the test system name built into the assembly. Gets a string representing the file version attribute of the main unit test framework assembly, if present. A completed test harness handler. A class contains extension methods and helpers for dealing with WorkItem instances and improving framework performance. Enqueues a work item into the task queue. The work item will run immediately following the previous work item, and may not leave any time before executing the next. This is a specialized method to be used for performance improvements. The work item test. The unit of work. Enqueues a method into the task queue. The method will run immediately following the previous work item, and may not leave any time before executing the next. This is a specialized method to be used for performance improvements. The work item test. The callback action or method. Enqueues a conditional statement into the task queue. The method will run immediately following the previous work item, and may not leave any time before executing the next. This is a specialized method to be used for performance improvements. The work item test. The conditional function or statement. Custom test class that provides the ability to perform semi-asynchronous test tasks on the main thread. Requires the custom unit test harness that manages and invokes test work items on the thread when needed. Tests using this functionality will not be compatible with the full desktop framework's Visual Studio Team Test environment. Signal that a test is complete when using Async testing. WARNING: If you use your own methods for completing, such as an HtmlTimer or other threading method, it is possible that this call will occur *AFTER* the test has timed out when using Timeouts. As such, be very careful as you could complete the call to the *next* test. Add a task object to the test queue. For a test that is currently executing, all tasks contained within the queue are executed to completion (unless an Exception is thrown) -before- moving on to the next test. The test task queue replaces the PumpMessages(...) system that permitted a single callback. This enables specialized tasks, such as DOM bridge tasks, sleep tasks, and conditional continue tasks. Asynchronous test task instance. Delay a minimum amount of time before continuing. Similar to a sleep call that is not a blocking call. The minimum time span to wait before continuing. Creates a delay work item instance. The minimum time span to wait before continuing. Returns a new work item. Delay a minimum amount of time before continuing. Similar to a sleep call that is not a blocking call. The minimum number of milliseconds to wait until the delay is finished. Requires a bool returning delegate to be passed in. Instructs the test task queue to wait until the conditional call returns True to continue executing other test tasks and/or ending the test method. Conditional method or delegate. Test will halt until this condition returns True. Creates a conditional work item instance. Conditional method or delegate. Test will halt until this condition returns True. Returns a new work item. Enqueue a test task which calls the TestComplete method of SilverlightTest. Add a Callback method into the test task queue. Similar to the PumpMessages(...) call, with the difference being that there is no longer a single requirement: you can enqueue several callback methods and other test tasks, all of which will execute before the test completes and/or the engine continues. Void-returning delegate, anonymous delegates work fine too. Creates a callback work item instance. Void-returning delegate, anonymous delegates work fine too. Returns a new work item. Adds a number of callback methods into the test task queue. Set of Action instances. Sleep a minimum number of milliseconds before calling a test callback delegate. Minimum number of milliseconds to sleep. The only guarantee to the tester is that the sleep will be >= this amount of ms, and NOT that there is precision or an exact time. Callback method to execute after the minimum amount of time has elapsed. Enqueue an action. A shortcut for the EnqueueCallback. The action to enqueue. Sleep a minimum number of milliseconds. This is the simplified overload which requires no callback. Minimum number of milliseconds to sleep. The only guarantee to the tester is that the sleep will be >= this amount of ms, and NOT that there is precision or an exact time. A special indicator attribute to enable better debugging using Microsoft.Silverlight.Testing. As there is very little parameter information available for a test run, this attribute singles out specific classes to execute when found. This attribute is unique to this environment and not compatible with any desktop unit test framework without using a shim if it is left in code. Implementation of useful properties and features for presentation platform tests (Silverlight and WPF). Tests using this functionality will not be compatible with the full desktop framework's Visual Studio Team Test environment. Gets the test panel. Provides access to Silverlight-specific test features and functionality. Tests using this functionality will not be compatible with the full desktop framework's Visual Studio Team Test environment. A test work item is a task that is invoked until it is complete. It maintains its own state to be able to notify the caller when it is finally complete, with no further work to be run. It is possible that some implementations of a TestWorkItem may actually contain a set of sub-tasks by implementing a composite pattern. A value indicating whether the task can immediately execute. Invoke the task. Return false only when the task is complete. True if there is additional work to be completed. False when there is none. Called by the task after the work is complete. Gets a value indicating whether the task's work is complete. Gets or sets a value indicating whether the work item can be executed immediately, and does not rely on special asynchronous operation. Used for performance improvements. The setter is also public. The extended writer for the unit testing harness and consumers. A utility type that writes new log messages to the test harness log queue. The factory used for creating new LogMessage types. The test harness that contains the method to post new events into the log message queue. Initialize a new writer class, using the default LogMessageFactory to create new messages. The test harness instance. Initialize a new writer class. The test harness instance. The factory to use when creating new messages. Posts a log message to the test harness queue for processing. The log message object. Creates a new log message using the embedded factory. Returns a new LogMessage instance. Creates a new log message using the embedded factory. The message type. Returns a new LogMessage instance. Creates a new log message using the embedded factory. The message type. The text message. Returns a new LogMessage instance. Decorate a log message with a value. The log message to decorate. The key for this decoration. The value of this decoration. Decorate the log message object with an Exception object. The log message object. The Exception. Decorate the log message object with a name. The log message object. Name property value. Decorate the log message object with a test stage value. The log message object. Test stage value. Decorate the log message object with a test outcome object. The log message object. Test outcome object. Decorate the log message object with a test granularity object. The log message object. Test granularity object. Sets the type of the log message. The log message object. The new value to set the message type to. This writes a new line of information similar to a Debug::WriteLine call. The text to write. Writes information through a new log message. The information string. Writes a message relating to the test infrastructure. The text to write. Writes an environment message. The text to write. Writes a TestRun message. The text to write. Log an error message. The error message string. The Exception object to decorate the message with. Log an error message. The error message string. Log a warning message. The warning message string. The Exception object to decorate the message with. Log a warning message. The warning message string. Record a test outcome. The accompanying message. The outcome value. Writes information about an encountered, known issue. Information about the known issue. Records a log message that indicates a named, granular test stage has happened. Any message for the log. A name for the object or event. The test granularity value. The test stage value. Initializes the unit test log message writer helper. The test harness reference. Marks a message as a unit test system-specific message. The log message object. An incorrect exception type has occurred. The expected type. The actual exception's type. The test metadata. The method metadata. No Exception was intercepted, yet one was expected. The expected exception type. The test class metadata. The test method metadata. Logs and Exception that was intercepted or observed. The actual Exception instance. The test class metadata. The test method metadata. Enqueues a Ignore message. The granularity of the ignore operation. The name of the test skipped. Enqueues a message containing a test run filter. The test run filter. Records a log message that indicates a named, granular test stage has happened. The assembly metadata object. The test granularity value. The test stage value. Log a test class's stage. The test class metadata object. The test stage. Log the result of a unit test scenario. The result of the test. Log a test method's stage. The test method metadata object. The test stage. Records a harness state for the unit test harness. The unit test harness. The harness name. The test stage. A test harness for interacting with unit test providers such as Visual Studio Team Test's metadata. Display name for this harness. Manages the attachment state of a global exception handler. Container of all work items for the test harness. Manager of the stack of dispatchers, so that the appropriate parent container handles exceptions and completion events. Number of valid test assemblies encountered. The current run's known number of test methods. Backing field for the event firing helper. Initiate unit test harness. Queue of log messages awaiting processing. Adds a log provider to the listening log providers group. Log provider object. Enqueue a log message object for processing by the log providers. The log message object. Begin running the test harness. Make sure to subscribe to the Complete event before calling this method, in some harnesses this may be a synchronous Run followed immediately by the Complete event being fired. Complete event. The sender. The event arguments. Stores a log file for the test run. Depending on the execution environment, this call may not successful. The name of the log file. The log file content as a string. If supported by any attached test service, this publishes the final test results. Typical harness implementations may immediately close the web browser channel upon receiving the message, so any other reporting should be done first. Process all queued log messages. Fill member variables with any non-null settings of the same type. Settings container class. Initializes all log providers. Call the TestHarnessCompleted event. Call the Publishing event. The event arguments. Overrides the PublishResults method so that final reporting is only done once all other logging is finished. Publish final results. If not yet ready, will keep waiting around as a work item until it is done. Stored dispatcher instance. Checks if a reporting provider is connected to the test service. Returns true if a reporting provider is connected to the test service. Immediately sets the overall status using a log message and processes the message queue. The message to set. Sets the unit test harness property for a test case that inherits from the abstract base type 'CustomTest'. A CustomText instance. Initialize the harness with a set of test assemblies. Restarts the run dispatcher. Track the results for our execution and also track the fail state. Scenario result to process. Fires the test assembly starting event. The event data. Fires the play pause event. Event data. Fires the test assembly completed event. The event data. Fires the test class starting event. The event data. Fires the test class completed event. The event data. Fires the test method starting event. The event data. Notifies observers that a test method has been completed. Also clears the test panel's visual tree. The event data. Notifies observers that a test run has been started. The event data. Reference to the test page object. Attempts to report the code coverage information using the test service provider. If there is no available coverage reporting service, this is a silent failure. Only reports if >= 1 blocks are hit. The test service. Enqueue a test assembly from a simple Assembly reference. The test assembly. The run filter settings for the test assembly's run. Enqueues a test assembly. The test assembly metadata. The run filter settings for the test assembly's run. Flush the current log manager and then perform the next invoke. Returns true if work remains. Creates the test run filter for the initial run. The unit test settings. Returns a new TestRunFilter instance. Determine what test assemblies need to be executed. Enqueue tasks for the unit test assembly providers to run the tests. Calculates the number of methods for a run. The assembly manager. The test assembly. The test run filter. Returns the number of known methods returned. Event fired at the completion of the harness' work. Sender object instance. Event arguments. Listener event for any unhandled exceptions. Sender object instance. Event arguments. Creates the set of harness tasks to run and hooks up to the Complete event. Gets the list of results. Gets the log message writer instance. This can be used to easily post informative messages to the log message queue and providers. Gets or sets the logic factory used for instantiating the unit test logic and management objects. Gets or sets the overall harness state - overloaded types can be used to store additional information. Gets the log providers list. Gets or sets the wrapper that handles calling the next Run step method until complete; allows for a virtual Run method. Gets the dictionary of Parameters passed into the test harness. Gets or sets the settings used to initialize the test harness. Gets a set of events that can be fired for test results and other important test runtime events. The test harness is publishing results. Gets the TestService referenced by the test harness settings. The test service provides advanced, optional functionality that is useful to harness and test case developers. A typical test service operates outside the process or security boundary. Complete event fired when the test harness has finished its test run. Gets a dispatcher instance. Gets the root container for test work to be completed. Gets the known number of test methods in the current test run. Gets or sets a value indicating whether to intercept exceptions at the app domain level and funnel into the current container or not. Gets the internal DispatcherStack being used by the test harness. The test assembly starting event. On the play or pause change of the dispatcher. Gets or sets a value indicating whether the dispatcher is currently running. Test assembly completed event. Test class starting event. The test class completed event. The test method starting event. An event that is fired whenever a test method completes. An event that is fired when the test run is starting. Gets or sets the test page. Gets the test panel manager instance. Well-known keys that can be used to mark decorator instances in log message objects. Indicates that the message is specific to the unit test system. The unit test harness reference. The metadata interfacing object for a test assembly. The metadata interfacing object for a test class. The metadata interfacing object for a test method. Indicates that the incorrect exception was intercepted. Indicates that the message indicates a skipped/ignored item. The type of the expected exception. The type of the actual exception. The actual exception. A TestRunFilter object. A ScenarioResult object. Helper conditional methods for unit test-specific log messages. Determines whether a log message meets a specific condition or set of conditions. The log message object. Returns true if the condition is met. Determines whether a log message meets a specific condition or set of conditions. The unit test decorator of interest. Returns true if the condition is met. Returns a value indicating whether the message is marked as a unit test system message. The message. Returns true if the message is a unit test system-marked message. Determines whether a log message meets a specific condition or set of conditions. The log message object. Returns true if the condition is met. Determines whether a log message meets a specific condition or set of conditions. The log message object. Returns true if the condition is met. Determines whether a log message has an attached TestRunFilter. The log message object. Returns a value indicating whether the condition is met. Determines whether a log message meets a specific condition or set of conditions. The log message object. Returns true if the condition is met. Determines whether a log message meets a specific condition or set of conditions. The log message object. Returns true if the condition is met. Determines whether a log message meets a specific condition or set of conditions. The log message object. Returns true if the condition is met. A lazy method type. A class that does a lazy lookup when needed using reflection. Attribute Type instance. The Type to search with. Whether the search has happened. The method reflection object. Construct a new lazy method wrapper. The attribute type. Construct a new lazy method wrapper. Type to search. Attribute type. Does a search and retrieves the method information. The method reflection object. Whether the type has a method info. A value indicating whether the method information has been found. Perform a search on the type. Gets the type of attribute the lazy method is searching for. Gets the underlying type that is searched. Gets or sets a value indicating whether a lookup has already been attempted. Gets or sets the underlying MethodInfo from reflection. Underlying Assembly reflection object. Create a new lazy method from a MethodInfo instance. Assembly reflection object. Attribute Type instance. Performs a search on the MethodInfo for the attributes needed. Test assembly metadata interface. Gets a collection of test class metadata objects. Returns a collection of metadata objects. Gets the initialization method. Gets the cleanup method. Gets a reference to the unit test provider. Gets the name of the test assembly. Gets the test harness used to initialize the assembly. An expected exception marker for a test method. Gets the expected exception type. Gets any message associated with the expected exception object. Represents the host type information for a test. Gets the Host type. Gets the host data. A representation of a test's priority. Metadata representing a test class. Retrieve a collection of the test method metadata objects setup by the unit test provider. A collection of test method interfaces. Gets the test class Type instance. Gets a value indicating whether the test class should be ignored. Gets the per-test initialization method. Gets the per-test cleanup method. Gets the one-time class initialization method. Gets the one-time class cleanup method. Gets the name of the test class. Gets a reference to the parent test assembly metadata instance. Test method metadata. Used for decorating with unit test provider-specific capabilities, such as the TestContext concept. Instance to decorate. Get any attribute on the test method that are provided dynamically. Dynamically provided attributes on the test method. Invoke the test method. Instance of the test class. Gets the test method reflection object. Hooks up to any unit test provider-enabled WriteLine capability for unit tests. Gets a value indicating whether the test is marked to be ignored. Gets any description for the method. Gets a name for the method. Gets any category information for the method. Gets any test owner information. Gets any expected exception attribute . Gets any timeout information. Gets a collection of any test properties. Gets a collection of any test work items. Gets any priority information. A property for a test method. Gets the test property name. Gets the test property value. Provider model for a unit test system that uses reflection and metadata to enable a unit test run. Retrieve the metadata instance for a test assembly given a reflection Assembly instance. The test harness using the provider. Reflected test assembly. Unit test provider-specific metadata instance for the test assembly. Gets a value indicating whether a specific capability or set of capabilities are supported by the unit test provider. Capability of interest. Gets a value indicating whether the capability is supported. Checks if an Exception actually represents an assertion that failed to improve the logging experience. Exception object. Returns true if the Exception is an assertion exception type. Gets the name of the unit test provider. Gets the capabilities that the unit test provider implements. Work item for a test. Gets the associated information from the work item. Event arguments that pass along a string value. Create a new event argument instance. Create a new event argument instance that stores a string value. String value to pass along. String value stored in the event arguments. Gets the stored string value. A set of capabilities that a unit test provider may chose to implement through the metadata interfaces. No defined capabilities. Support for attribute [AssemblyInitialize]. Support for attribute [AssemblyCleanup]. Support for attribute [Ignore] for classes. Support for attribute [Ignore] for methods. Support for attribute [Description] on methods. Support for attribute [Category] on methods. Support for attribute [Owner] on method. Support for attribute [Priority] on method. Support for attribute [TestProperty](...) on methods. Support for attribute [Timeout] on methods. Support for attribute [WorkItem(...)]('s) on methods. Test work item type that does not complete until the sleep time has elapsed. This is NOT a blocking Sleep. The amount of time to delay for. The DateTime that marks the point in time the task is complete. Create a new Sleep work item, including the number of milliseconds to wait until continuing. Amount of time to wait/delay. On the first time, will calculate the final DateTime. Otherwise, null operation (returns) until that time. Returns a value indicating whether there is more work to be done. Expected exception metadata. Private constructor. Creates a new expected exception metadata wrapper. Attribute value. The expected exception attribute. Gets the type of the expected exception. Gets any message to include in a failure. A simple wrapper for a priority integer value that overrides the ToString method. Initializes a new instance of the Priority class. The priority. Gets the priority as string. Returns the priority. Gets the priority value. The set of provider attributes. Initializes the VSTT metadata provider. Gets VSTT [TestClass] attribute. Gets VSTT [Ignore] attribute. Gets VSTT [ClassInitialize] attribute. Gets VSTT [Priority] attribute. Gets VSTT [ClassCleanup] attribute. Gets VSTT [TestInitialize] attribute. Gets VSTT [TestCleanup] attribute. Gets VSTT [Description] attribute. Gets VSTT [Timeout] attribute. Gets VSTT [Owner] attribute. Gets VSTT [ExpectedException] attribute. Gets VSTT [AssemblyInitialize] attribute. Gets VSTT [AssemblyCleanup] attribute. Gets VSTT [TestMethod] attribute. Gets VSTT [TestProperty] attribute. Test class wrapper. Construct a new test class metadata interface. Assembly metadata interface object. Creates a new test class wrapper. Assembly metadata object. Type of the class. Test Type. Collection of test method interface objects. A value indicating whether tests are loaded. A dictionary of method types and method interface objects. Gets a collection of test method wrapper instances. A collection of test method interface objects. Exposes the name of the test class. Returns the name of the test class. Gets the test assembly metadata. Gets the underlying Type of the test class. Gets the name of the test class. Gets a value indicating whether an Ignore attribute present on the class. Gets any test initialize method. Gets any test cleanup method. Gets any class initialize method. Gets any class cleanup method. Methods enum. Initialize method. Cleanup method. Test init method. Test cleanup method. A provider wrapper for a test method. Property name for the TestContext. Default value for methods when no priority attribute is defined. An empty object array. Method reflection object. Private constructor, the constructor requires the method reflection object. Creates a new test method wrapper object. The reflected method. Call the WriteLine method. String to WriteLine. Decorates a test class instance with the unit test framework's specific test context capability, if supported. Instance to decorate. Get any attribute on the test method that are provided dynamically. Dynamically provided attributes on the test method. Invoke the test method. Instance of the test class. Exposes the name of the test method as a string. Returns the name of the test method. Allows the test to perform a string WriteLine. Gets the underlying reflected method. Gets a value indicating whether there is an Ignore attribute. Gets any description marked on the test method. Gets the name of the method. Gets the Category. Gets the owner name of the test. Gets any expected exception attribute information for the test method. Gets any timeout. A Nullable property. Gets a Collection of test properties. Gets a collection of test work items. Gets Priority information. Represents a simple test property with a key/value string pair. Initializes a new instance of the TestProperty class. Initializes a new instance of the TestProperty class. The initial property name. The initial property value. Gets or sets the property name. Gets or sets the property value. A wrapper for the unit test context capability of Visual Studio Team Test's unit test framework. Create a new unit test context wrapper for the test method. Test method. Constructor of a new unit test context. Test method. Used to write trace messages while the test is running. Format string. The arguments. Throw a not supported exception. Functionality that is not supported (string). A new NotSupportedException. Adds a file name to the list in TestResult.ResultFileNames. Filename to add as a result. Begins a timer with the specified name. The name of the timer to create. Ends a timer with the specified name. Name of the timer. Cache of properties. Gets test properties. Gets current data row when test is used for data driven testing. Gets current data connection row when test is used for data driven testing. Gets the name of the test method. Gets the current enum outcome - passed, failed, or inconclusive. Assembly metadata for the Visual Studio Team Test unit test framework. Assembly reflection object. Assembly initialization method information. Assembly cleanup method information. Unit test provider used for the assembly. The unit test harness. Creates a new unit test assembly wrapper. Unit test metadata provider. A reference to the unit test harness. Assembly reflection object. Reflect and retrieve the test class metadata wrappers for the test assembly. Returns a collection of test class metadata interface objects. Gets the name of the test assembly. Gets the unit test provider instance. Gets any assembly initialize method. Gets any assembly cleanup method. Gets the test harness used to initialize the assembly. Gets the test harness as a unit test harness. Provider for the Visual Studio Team Test unit test (UT) framework metadata. Name of this provider. The capabilities of the VSTT UTF provider. Whether the capability is supported by this provider. Capability type. A value indicating whether the capability is available. Create a new Visual Studio Team Test unit test framework provider instance. Cache of assemblies and assembly unit test interface objects. VSTT unit test provider constructor; takes an assembly reference to perform reflection on to retrieve all test class types. In this implementation of an engine for the VSTT metadata, only a single test Assembly can be utilized at a time for simplicity. The unit test harness. Assembly reflection object. Returns the assembly metadata interface. Check if the Exception is actually a failed assertion. Exception object to check. True if the exception is actually an assert failure. Gets the name of the provider. Gets the specialized capability descriptor. Settings for the unit test system. The tag expression key name. By default test methods are sorted. By default test classes are sorted. Settings for the unit test system. Gets the parameters from the response file. The parameters. Gets the components initialized by the entry-point assembly. These are the dynamically loaded objects that may be needed by the TestHarness. The components. Gets the log providers. Gets or sets a set of sample tags for use in a tag editor screen. Gets the list of test assemblies. The test assembly. Gets or sets the test service provider. The test service lights up advanced out-of-process communication, reporting, logging, and other valuable services. Gets or sets the test harness. The test harness. Gets or sets the test service hostname to try using. Defaults to localhost. Gets or sets the test service port to try using. Defaults to 8000. Gets or sets the test service path to try using. Defaults to /externalInterface/. Gets or sets a value indicating whether to start the run immediately when the test system is run. Defaults to false to enable the test service to load and information to be provided in the user interface. Gets or sets the type of the TestPanel to create. The type must derive from Microsoft.Silverlight.Testing.ITestPanel. Gets or sets a value indicating whether test methods are sorted alphabetically. By default this value is true. It is worth understanding that the order of unit test execution should not affect the results of a test run. Any expected ordering and verification from multiple test methods should be refactored into a single unit test. Gets or sets a value indicating whether test classes are sorted alphabetically. This setting is True by default. Gets or sets a value indicating whether to show the tag expression editor user interface before starting the test run. Gets or sets the tag expression used for selecting tests to run. Gets a list of test classes to run. Enables filtering. This property should be considered obsolete. A manager for the underlying TestSurface Panel. Private constructor. The test page object. A value indicating whether the panel is dirty. Remove the children from the test surface, if it has been used. Remove the children from the test surface. Gets or sets the Reference to the TestPage user control. Gets the TestSurface Panel, and tracks the use for the current test method. When the test completes, the panel children will be cleared automatically. A result from a test scenario. Creates a result record. Test method metadata object. Test class metadata object. Test result object. Exception instance, if any. The string representation of the ScenarioResult. Returns a verbose string representation of the result. Gets or sets the scenario's started time. Gets or sets the scenario's finishing time. Gets the test method metadata. Gets the test class metadata. Gets or sets the Result object. Gets the Exception instance, if any. Container and manager type which handles an entire test assembly; contains sub work items that represent all actions needed to execute its tests. A container that stores instances of the unit test harness and provider. TestWorkItem which can contain sub-tasks; the underlying work item is not marked complete until the Children have completed or an Exception is thrown. Store the underlying tasks. Whether the TestTaskContainer::IsComplete should be set to true after all children have been de-queued. Whether the first invoke has happened yet or not. Constructor for the TestTaskContainer type. Optional method to call on the first invoke. Invoke the test container; in turn will execute child work items as needed. Supports executing multiple items immediately for performance reasons. True if additional work remains, False once IsComplete is set to true. Invoke the test container; in turn will execute child work items as needed. The work item used for the invoke. True if additional work remains, False once IsComplete is set to true. Clear the children. Dequeue a work item. A work item. Add a new work item to the container to schedule it for invocation. New test work item to enqueue. Adds a new work item that will execute more quickly. The item of work. Enqueues a callback or action that will quickly execute. The action or method. Add a new callback action and schedule it for invocation. The action. Return the top work item, if any, from this container. Peek into any test work item. Work items must call this method to indicate completion of the work item; in turn fires the Complete event delegates. Internal-only version which can be called during a test completion through the relation - not necessarily the best design; events may make more sense long-term. Call when an exception occurs inside a work item. Exception object. Fire the Complete event. Empty event arguments. Fire the unhandled exception event. Exception object. Gets a value indicating whether the container is marked Complete when all children have executed or not. Gets a value indicating whether sub tasks remain. Complete event is fired when the underlying WorkItemComplete method is called by the work item. Event fired when an exception is thrown and unhandled within the underlying Invoke sequence. Gets or sets a value indicating whether the task can execute immediately. The unit test provider. Initializes a new unit test work item container. The unit test harness. The unit test metadata provider. Logs a new message. Message object. Logs a message about the harness. Information about the harness. Gets the log message writer for the unit test system. Gets the test harness instance. Gets the unit test provider instance. The test run filter object. Unit test provider-agnostic assembly metadata. Container of work items for running test classes. Create a new assembly manager, takes in the harness, provider reference and actual IAssembly object. The test run filter object. Harness object. The unit test metadata provider. The test assembly metadata object. When the test run is ready to test the underlying test assembly that this class manages, perform reflection and enqueue work items to run the tests. The assembly initialize method. The assembly cleanup method. Reflect over all test classes in the assembly and add any which are not filtered out into the test work item queue. Helper to enqueue a new method dispatcher. The method reflection object. Gets the collection of all the instances of the assembly's test classes, used to keep a single reference of the type. A method container. The timeout time. The test method metadata. Constructs a new method container. Constructs a new method container. An instance of the method's type. The method reflection object. The test method. The task that involves the method, and contains its own internal test queue, if needed for asynchronous tasks. The reflection object for the method. Invoke into the method. Returns the condition of any remaining work. On the first invoke, make sure there's a task to call the method. Gets the method's reflection object. A dictionary that manages single instances of types for use across the unit test system. Returns the instance for a Type; if there is not an instance yet, this will use Activator.CreateInstance to create it. The Type instance to retrieve. Returns an instance of the Type. Returns a new instance if the Type has not yet been used. Remove any instance for the type. The Type of instance to remove. Test class manager. Test run filter object. Reference to the class and its metadata. Queue of any tests to run. Class instance. A container type that handles an entire test class throughout the test run. Test run filter object. The unit test harness. The test class metadata interface. The object instance. The unit test provider. Code run the first time this container is invoked. Custom tests need to be prepared before use. The test initialize method. The test cleanup method. Reflect through the class to find any test methods, and add them to the list of queued methods. Also, sorts the methods if appropriate based on the settings file. Add a new method dispatcher to the test work item queue. This is a work item container which is able to manage its own internal test work item queue. The method reflection object. A special type dedicated to keeping a running stack of the dispatch managers that are actually enabled for "work item" use. The current dispatcher is used by the test work item queue. Dispatcher stack; a stack of work item containers. Creates a new empty stack for work item containers. Push a new dispatcher onto the stack. The composite work item to push. Pop a dispatcher off the stack. Returns the top-most container. Throws an InvalidOperationException if none is available. Gets the current test work item dispatcher, which is the dispatcher on the top of the stack. Returns null if there is none. Manager for planning, processing, and reporting the result of a single test method for a unit test provider. Underlying test class object. Underlying test method object. Reference to an instance of the test class. Scenario result of the test method. The started time of execution. Stores a collection of written lines. A value indicating whether the bug attribute was present on this method. If it is, the result will be inverted at completion. Contains the main test contents. Constructor for a test method manager, which handles executing a single test method for a unit test provider. The unit test harness object. The test class metadata object. The test method metadata object. The test class instance. The unit test provider. Log a start message. Log an end message. Handles the write line event for the test method. The string event arguments. First invoke, plan for the method's execution. Sets the start and finish times on the ScenarioResult object. Creates the ScenarioResult instance for this test method. The initial test outcome value. Process the result. Source object. Event arguments. Process an unhandled exception for the method. Source object. Unhandled exception event arguments. Create a new method container to enclose a reflected method for execution. The method reflection object. Gets or sets a value indicating whether the bug attribute's logic has already been processed. Gets the write line output list. A container which is able to attach to the underlying test dispatcher stack to enable advanced asynchronous functionality, when supported. The unit test harness. The granularity of the contained item. The test method metadata object. Initializes dispatcher-stack attaching method container work item. Test harness. Test instance. Method reflection object. Test method metadata. Granularity of test. Connect to dispatcher stack for advanced functions, if supported. Check a MethodInfo for the advanced async attribute. True if the work item queue is supported. A work item for tests to use which will call the delegate when the work item is executed. Stored void delegate. Create a new Callback work item. Action to execute on Invoke. Execute the callback. Whether the work item is complete. A test work item that is complete once the condition is asserted. The conditional delegate. Construct a new conditional work item. Conditional delegate. Invoke the condition, will continue invoking until the condition is false. Completes the invocation once the condition is true. A simple work item that invokes a method through the reflection MethodInfo instance. An empty object array. An object instance. Method reflection object. The test method to invoke. Creates a new method invoke work item for a MethodInfo instance. The type instance. The method on the type to invoke when the work item is executed. The test method metadata. Invokes the underlying method on the instance and marks the test work item as complete. False, noting the completion of the work item. Unit test providers. List of unit test providers. Static constructor that initializes the built-in unit test metadata providers. Gets the unit test provider for an assembly. The framework only currently supports a single provider per test assembly, so if more than one registered provider can handle the assembly, at runtime an InvalidOperationException is thrown. The test harness making the request. Assembly reflection object. The unit test provider for the test assembly. Throws if more than one can process the assembly. Returns null if there is not a provider for the assembly. Returns the IAssembly provider for an assembly. Test harness object. Assembly reflection object. Returns null or an IAssembly instance. Gets the list of Unit Test providers. A dictionary that can store just about any kind of object, keyed off any object. As a Hashtable, it permits using keys of - enums - objects - types This makes it ideal for use in decorating and adorning special types in the system, such as log messages. A strongly-typed decorator key could come from an enum value, while a prototype extension to the test system could simply use a string key for organizing. In all instances, the resulting object needs to be cast appropriately. Check if a decorator exists. The decorator key object. Returns a value indicating whether the decorator key exists. Even if the key exists, the instance value for the key could be set to null, yielding a null instance. Check if a set of decorators exists. The set of decorator(s) of interest. Returns a value indicating whether the decorators of interest were present. Retrieves the decorator instance if it exists. If not, this method returns null. The decorator key object. Returns the instance or null if it does not exist. No exceptions are thrown in this method. Helper functionality for dealing with embedded resources in an assembly. Get a string containing the text of an embedded resource in an assembly. An instance whose assembly can be retrieved through reflection. Complete embedded resource name. A string containing the embedded resource's string contents. A simple factory used for creating new log messages. Create a new LogMessage instance. Returns a new LogMessage instance. Create a new LogMessage instance. The type of message to create. Returns a new LogMessage instance. Gets or sets the default log message type used for the creation of unspecific log message types. Well-known keys that can be used to mark decorator instances in log message objects. Key for a decorator that is a simple Exception object. Key for a decorator that is a simple Name string property. An associated TestOutcome value. The stage of a message or event. The granularity of a message or event. A number of possible test outcomes or results. For compatibility, this information resembles that of the desktop test framework, although many of the states may not apply or be valid for an in-browser test harness. A test outcome of Error. A test outcome of Failed. A test outcome of Timeout. A test outcome of Aborted. A test outcome of Inconclusive. A test outcome of a run that was aborted, but passed. A test outcome of NotRunnable. A test outcome of NotExecuted. A test outcome of Disconnected. A test outcome of Warning. A test outcome of Passed. A test outcome of Completed. A test outcome of InProgress. A test outcome of Pending. The stage of a test scenario, case or system running. In the process of starting. Currently running. Finishing up. The test is canceling. Provides a property that will attach and detach a known event handler delegate when the bit is flipped. The event to fire when attached. Whether the event handler is attached as a global unhandled exception handler. Creates a new exception handler "manager" with the provided EventHandler. The event handler to manage. Mark the Handled property in the event args as True to stop any event bubbling. Event arguments. Value indicating whether the Exception should be marked as handled. Return the Exception property from the EventArgs. Event arguments. Returns the Exception object that the event arguments stores. This method is compatible with the full desktop framework as well as Silverlight. Internal event that is hooked up to the global exception handler. Source object of the event. Event arguments. Called after a change to the attachment field value. Attach the handler globally. Detach the handler globally. Gets or sets a value indicating whether the handler is currently attached to the global exception handler. A log message. The default log message used during initialization. Initializes a new log message of the default message type. Initializes a new log message. The message type. Converts to string representation. A string version of the LogMessage. Check if a decorator is present on the LogMessage. The decorator of interest. Returns a value indicating whether the decorator is present in the DecoratorDictionary. Check if a set of decorators are present. The decorator(s) of interest. Returns a value indicating whether the decorator(s) of interest are present. Gets the set of decorator instances attached to the log message. Gets or sets the type of message. Gets or sets the log's message. Gets or sets the decorator type for the message. The type of decorator. Only one explicit Type is permitted, although multiple types within the same type hierarchy are legitimate. Returns the instance of the decorator, if any. The hierarchy of test execution represented in more generic terms, this allows for more robust and useful actions by log providers. Harness-level granularity. Group of test-level granularity. Test-level granularity. Scenario-level granularity. The most verbose log provider, this calls .ToString() on each and every LogMessage that it processes. The output will appear in an attached debugger's "Output" window. Initializes a new instance of the DebugOutputProvider class. Display a LogMessage in the debug output window. Message object. Gets or sets a value indicating whether any TestResult failures will be reported, regardless of whether the TestResult type is being monitored for debug output. Gets or sets a value indicating whether all messages appear in the debug output. Set of defined types of log messages to allow for some level of filtering and selective processing of log messages. Pass, fail, etc. Debug::WriteLine or tracing. Non-fatal log message. Fatal error message. Information about a known defect. General information similar to a Console::WriteLine. Operating system setting or platform values. New unit of test or test run note. Related test systems or out-of-process communication information. Event information marking the completion of a test run. Creates a new TestHarnessCompletedEventArgs. The final test harness state. Gets the final test harness state. This contains the final pass versus fail result at a minimum. Specific harnesses may extend the type to contain additional information, logs, scenario counts, or anything else. A type which handles preparing the underlying dispatcher or timer from which the test work items execute. Millisecond interval to use for the interval between DispatcherTimer ticks. Dispatcher timer. Creates a new run method manager using the default value for the timer's millisecond interval. Conditional delegate which returns true as long as there is additional work. Sets up a new run method manager. Conditional delegate which returns true as long as there is additional work. Milliseconds between ticks, at a minimum. Begin the execution process by hooking up the underlying DispatcherTimer to call into the test framework regularly and perform test work items. Call into the underlying work item queue, if the method manager is still set to run. Sending object. Event arguments. Base class representing the overall state of a test run. Increment the failures counter. Increments the total scenarios counter. Gets the count of failing scenarios. Gets the total count of scenarios run. Gets a value indicating whether the status recorded indicates a failure. A set of helper methods for interacting with methods and types that are marked with attributes. Retrieve all types in an assembly that are decorated with a specific attribute. Assembly to search. Instance of the Type of attribute that marks interesting methods. A collection of types from the assembly. An empty collection is returned if no types were found matching the constraints. Given a MethodInfo type, returns the attributes (if any) that are of the decoratingAttribute parameter's type. MemberInfo instance. Attribute of interest. A collection populated with the Attribute instances. Given a MethodInfo type, returns the attributes (if any) that are of the decoratingAttribute parameter's type. MemberInfo instance. Attribute of interest. A value indicating whether to look for inheriting custom attributes. A collection populated with the Attribute instances. Given a test method, returns the attributes (if any) that are of the decoratingAttribute parameter's type. ITestMethod instance. Attribute of interest. Whether to inherit attributes. A collection populated with the Attribute instances. Retrieve a list of Reflection.Assembly types from a set of instances and/or types. Set of instances or types. A set of Assembly instances from the instances or types. Returns a list of unique assemblies from a set of types. Set of types. A list of unique Assembly instances from the input types. Given a list of attributes, retrieves a single Attribute instance. Will throw an exception if multiple attributes exist on the method. List of attributes. The attribute instance, or null if it does not exist. Given a method and a decorative attribute of interest, retrieves a single Attribute instance. Will throw an exception if multiple attributes exist on the method. MemberInfo instance. Attribute type of interest. The attribute instance, or null if it does not exist. Given a test method and a decorative attribute of interest, retrieves a single Attribute instance. Will throw an exception if multiple attributes exist on the method. ITestMethod instance. Attribute type of interest. The attribute instance, or null if it does not exist. Given a test method and a decorative attribute of interest, retrieves a single Attribute instance. Will throw an exception if multiple attributes exist on the method. ITestMethod instance. Attribute type of interest. A value indicating whether to look for custom inherited attributes. The attribute instance, or null if it does not exist. Returns a value indicating whether a method has the attribute. MemberInfo instance. Attribute of interest. A value indicating whether the type has the decorating attribute or not. Returns a value indicating whether a method has the attribute. ITestMethod instance. Attribute of interest. A value indicating whether the type has the decorating attribute or not. Return a collection of MethodInfo instances given a type to look through and the attribute of interest. Type to look through for methods. Attribute of interest. A collection of the method reflection objects, if any, with the marked attribute present. Retrieve a MethodInfo from a single decorated method inside a type, if any. Throws an Exception if there are > 1 methods that are decorated with the attribute. Type of interest. Attribute of interest. MethodInfo reflection object. Null if none are found. Exposes clipboard functionality within Silverlight 3 applications when a Silverlight 4 runtime is in use. An empty array of object type. Backing field for set text. Backing field for get text. Backing field for the contains text method. A value indicating whether the clipboard feature is present. This assumes that all 3 methods are present, in their current form for a more recent runtime. Sets Unicode text data to store on the clipboard, for later access with System.Windows.Clipboard.GetText(). A string that contains the Unicode text data to store on the clipboard. Retrieves Unicode text data from the system clipboard, if Unicode text data exists. If Unicode text data is present on the system clipboard, returns a string that contains the Unicode text data. Otherwise, returns an empty string. Queries the clipboard for the presence of data in the Unicode text format. True if the system clipboard contains Unicode text data; otherwise, false. Prepares to use the System.Windows.Clipboard type and throws an exception if the feature cannot be completely located. Prepares the type and reflects for new Silverlight features. Gets a value indicating whether the clipboard feature is available and supported. A framework element that permits a binding to be evaluated in a new data context leaf node. The type of dynamic binding to return. Gets or sets the string value binding used by the control. Identifies the Value dependency property. Initializes a new instance of the BindingEvaluator class. Initializes a new instance of the BindingEvaluator class, setting the initial binding to the provided parameter. The initial string value binding. Clears the data context so that the control does not keep a reference to the last-looked up item. Updates the data context of the framework element and returns the updated binding value. The object to use as the data context. If set to true, this parameter will clear the data context immediately after retrieving the value. Returns the evaluated T value of the bound dependency property. Updates the data context of the framework element and returns the updated binding value. The object to use as the data context. Returns the evaluated T value of the bound dependency property. Gets or sets the data item string value. Gets or sets the value binding. Specifies values that control the behavior of a control positioned inside another control. Stable Specifies that the control should be positioned on the left of the control. Specifies that the control should be positioned on top of the control. Specifies that the control should be positioned on the right of the control. Specifies that the control should be positioned at the bottom of control. The InteractionHelper provides controls with support for all of the common interactions like mouse movement, mouse clicks, key presses, etc., and also incorporates proper event semantics when the control is disabled. The threshold used to determine whether two clicks are temporally local and considered a double click (or triple, quadruple, etc.). 500 milliseconds is the default double click value on Windows. This value would ideally be pulled form the system settings. The threshold used to determine whether two clicks are spatially local and considered a double click (or triple, quadruple, etc.) in pixels squared. We use pixels squared so that we can compare to the distance delta without taking a square root. Reference used to call UpdateVisualState on the base class. Initializes a new instance of the InteractionHelper class. Control receiving interaction. Update the visual state of the control. A value indicating whether to automatically generate transitions to the new state, or instantly transition to the new state. UpdateVisualState works differently than the rest of the injected functionality. Most of the other events are overridden by the calling class which calls Allow, does what it wants, and then calls Base. UpdateVisualState is the opposite because a number of the methods in InteractionHelper need to trigger it in the calling class. We do this using the IUpdateVisualState internal interface. Update the visual state of the control. A value indicating whether to automatically generate transitions to the new state, or instantly transition to the new state. Handle the control's Loaded event. The control. Event arguments. Handle changes to the control's IsEnabled property. The control. Event arguments. Handles changes to the control's IsReadOnly property. The value of the property. Update the visual state of the control when its template is changed. Check if the control's GotFocus event should be handled. Event arguments. A value indicating whether the event should be handled. Base implementation of the virtual GotFocus event handler. Check if the control's LostFocus event should be handled. Event arguments. A value indicating whether the event should be handled. Base implementation of the virtual LostFocus event handler. Check if the control's MouseEnter event should be handled. Event arguments. A value indicating whether the event should be handled. Base implementation of the virtual MouseEnter event handler. Check if the control's MouseLeave event should be handled. Event arguments. A value indicating whether the event should be handled. Base implementation of the virtual MouseLeave event handler. Check if the control's MouseLeftButtonDown event should be handled. Event arguments. A value indicating whether the event should be handled. Base implementation of the virtual MouseLeftButtonDown event handler. Check if the control's MouseLeftButtonUp event should be handled. Event arguments. A value indicating whether the event should be handled. Base implementation of the virtual MouseLeftButtonUp event handler. Check if the control's KeyDown event should be handled. Event arguments. A value indicating whether the event should be handled. Check if the control's KeyUp event should be handled. Event arguments. A value indicating whether the event should be handled. Gets the control the InteractionHelper is targeting. Gets a value indicating whether the control has focus. Gets a value indicating whether the mouse is over the control. Gets a value indicating whether the read-only property is set. Gets a value indicating whether the mouse button is pressed down over the control. Gets or sets the last time the control was clicked. The value is stored as Utc time because it is slightly more performant than converting to local time. Gets or sets the mouse position of the last click. The value is relative to the control. Gets the number of times the control was clicked. The ItemContainerGenerator provides useful utilities for ItemsControls. Preview A Panel that is used as the ItemsHost of the ItemsControl. This property will only be valid when the ItemsControl is live in the tree and has generated containers for some of its items. A ScrollViewer that is used to scroll the items in the ItemsHost. Initializes a new instance of the ItemContainerGenerator. The ItemsControl being tracked by the ItemContainerGenerator. Apply a control template to the ItemsControl. Prepares the specified container to display the specified item. Container element used to display the specified item. The ItemContainerStyle for the parent ItemsControl. Update the style of any generated items when the ItemContainerStyle has been changed. The ItemContainerStyle. Silverlight does not support setting a Style multiple times, so we only attempt to set styles on elements whose style hasn't already been set. Scroll the desired element into the ScrollHost's viewport. Element to scroll into view. Gets or sets the ItemsControl being tracked by the ItemContainerGenerator. Gets a Panel that is used as the ItemsHost of the ItemsControl. This property will only be valid when the ItemsControl is live in the tree and has generated containers for some of its items. Gets a ScrollViewer that is used to scroll the items in the ItemsHost. Numeric utility methods used by controls. These methods are similar in scope to the WPF DoubleUtil class. Check if a number is zero. The number to check. True if the number is zero, false otherwise. Check if a number isn't really a number. The number to check. True if the number is not a number, false if it is a number. Determine if one number is greater than another. First number. Second number. True if the first number is greater than the second, false otherwise. Determine if one number is less than or close to another. First number. Second number. True if the first number is less than or close to the second, false otherwise. Determine if two numbers are close in value. First number. Second number. True if the first number is close in value to the second, false otherwise. NanUnion is a C++ style type union used for efficiently converting a double into an unsigned long, whose bits can be easily manipulated. Floating point representation of the union. Integer representation of the union. Provides event data for various routed events that track property values changing. Typically the events denote a cancellable action. The type of the value for the dependency property that is changing. Preview Private member variable for Cancel property. Initializes a new instance of the class. The identifier for the property that is changing. The previous value of the property. The new value of the property, assuming that the property change is not cancelled. True if the property change is cancellable by setting to true in event handling. false if the property change is not cancellable. Gets the identifier for the property that is changing. The identifier for the property that is changing. Gets a value that reports the previous value of the changing property. The previous value of the changing property. Gets or sets a value that reports the new value of the changing property, assuming that the property change is not cancelled. The new value of the changing property. Gets a value indicating whether the property change that originated the RoutedPropertyChanging event is cancellable. True if the property change is cancellable. false if the property change is not cancellable. Gets or sets a value indicating whether the property change that originated the RoutedPropertyChanging event should be cancelled. True to cancel the property change; this resets the property to . false to not cancel the property change; the value changes to . Attempted to cancel in an instance where is false. Gets or sets a value indicating whether internal value coercion is acting on the property change that originated the RoutedPropertyChanging event. True if coercion is active. false if coercion is not active. This is a total hack to work around the class hierarchy for Value coercion in NumericUpDown. Represents methods that handle various routed events that track property values changing. Typically the events denote a cancellable action. The type of the value for the dependency property that is changing. The object where the initiating property is changing. Event data for the event. Preview The ScrollExtensions class provides utility methods for scrolling items ScrollViewers. The amount to scroll a ScrollViewer for a line change. Scroll a ScrollViewer vertically by a given offset. The ScrollViewer. The vertical offset to scroll. Scroll a ScrollViewer horizontally by a given offset. The ScrollViewer. The horizontal offset to scroll. Scroll the ScrollViewer up by a line. The ScrollViewer. Scroll the ScrollViewer down by a line. The ScrollViewer. Scroll the ScrollViewer left by a line. The ScrollViewer. Scroll the ScrollViewer right by a line. The ScrollViewer. Scroll the ScrollViewer up by a page. The ScrollViewer. Scroll the ScrollViewer down by a page. The ScrollViewer. Scroll the ScrollViewer left by a page. The ScrollViewer. Scroll the ScrollViewer right by a page. The ScrollViewer. Scroll the ScrollViewer to the top. The ScrollViewer. Scroll the ScrollViewer to the bottom. The ScrollViewer. Get the top and bottom of an element with respect to its parent. The element to get the position of. The parent of the element. Vertical offset to the top of the element. Vertical offset to the bottom of the element. Common TypeConverter functionality. Returns a value indicating whether this converter can convert an object of the given type to an instance of the expected type. Expected type of the converter. The type of the source that is being evaluated for conversion. A value indicating whether the converter can convert the provided type. Attempts to convert a specified object to an instance of the expected type. Expected type of the converter. TypeConverter instance. The object being converted. The instance of the expected type created from the converted object. Determines whether conversion is possible to a specified type. Expected type of the converter. Identifies the data type to evaluate for conversion. A value indicating whether conversion is possible. Attempts to convert a specified object to an instance of the desired type. TypeConverter instance. The object being converted. The type to convert the value to. The value of the conversion to the specified type. Names and helpers for visual states in the controls. Common state group. Normal state of the Common state group. Normal state of the Common state group. MouseOver state of the Common state group. Pressed state of the Common state group. Disabled state of the Common state group. Focus state group. Unfocused state of the Focus state group. Focused state of the Focus state group. Selection state group. Selected state of the Selection state group. Unselected state of the Selection state group. Selected inactive state of the Selection state group. Expansion state group. Expanded state of the Expansion state group. Collapsed state of the Expansion state group. Popup state group. Opened state of the Popup state group. Closed state of the Popup state group. ValidationStates state group. The valid state for the ValidationStates group. Invalid, focused state for the ValidationStates group. Invalid, unfocused state for the ValidationStates group. ExpandDirection state group. Down expand direction state of ExpandDirection state group. Up expand direction state of ExpandDirection state group. Left expand direction state of ExpandDirection state group. Right expand direction state of ExpandDirection state group. HasItems state group. HasItems state of the HasItems state group. NoItems state of the HasItems state group. Increment state group. State enabled for increment group. State disabled for increment group. Decrement state group. State enabled for decrement group. State disabled for decrement group. InteractionMode state group. Edit of the DisplayMode state group. Display of the DisplayMode state group. DisplayMode state group. Edit of the DisplayMode state group. Display of the DisplayMode state group. Active state. Inactive state. Active state group. Non-watermarked state. Watermarked state. Watermark state group. Unfocused state for Calendar Buttons. Focused state for Calendar Buttons. CalendarButtons Focus state group. Use VisualStateManager to change the visual state of the control. Control whose visual state is being changed. A value indicating whether to use transitions when updating the visual state, or to snap directly to the new visual state. Ordered list of state names and fallback states to transition into. Only the first state to be found will be used. Gets the implementation root of the Control. The DependencyObject. Implements Silverlight's corresponding internal property on Control. Returns the implementation root or null. This method tries to get the named VisualStateGroup for the dependency object. The provided object's ImplementationRoot will be looked up in this call. The dependency object. The visual state group's name. Returns null or the VisualStateGroup object. Represents a that supports objects, such as . Stable The DataTemplate to apply to the ItemTemplate property on a generated HeaderedItemsControl (such as a MenuItem or a TreeViewItem), to indicate how to display items from the next level in the data hierarchy. The Style to apply to the ItemContainerStyle property on a generated HeaderedItemsControl (such as a MenuItem or a TreeViewItem), to indicate how to style items from the next level in the data hierarchy. Initializes a new instance of the class. Gets or sets the collection that is used to generate content for the next sublevel in the data hierarchy. The collection that is used to generate content for the next sublevel in the data hierarchy. The default value is null. Gets a value indicating whether the ItemTemplate property was set on the template. Gets or sets the to apply to the property on a generated , such as a , to indicate how to display items from the next sublevel in the data hierarchy. The to apply to the property on a generated , such as a , to indicate how to display items from the next sublevel in the data hierarchy. Gets a value indicating whether the ItemContainerStyle property was set on the template. Gets or sets the that is applied to the item container for each child item. The style that is applied to the item container for each child item. Class to encapsulate drag behavior for a UIElement. Mature Inherited code: Requires comment. Inherited code: Requires comment. Inherited code: Requires comment. Create an instance of the DragValidator class. UIElement that represents the source of the drag operation. Handle the MouseMove event for the UIElement to update the drag operation. Inherited code: Requires comment. Inherited code: Requires comment 1. Handle the MouseLeftButtonUp event for the UIElement to complete the drag operation. Inherited code: Requires comment. Inherited code: Requires comment 1. Handle the MouseLeftButtonDown event for the UIElement to start a drag operation. Inherited code: Requires comment. Inherited code: Requires comment 1. Invoke the DragStartedEvent handlers. Invoke the DragDeltaEvent handlers. Inherited code: Requires comment. Invoke the DragCompletedEvent handlers. Inherited code: Requires comment. Inherited code: Requires comment 1. Occurs when a drag operation has started. Occurs when a drag operation has completed. Occurs when a drag operation has progressed. Represents a control that redistributes space between the rows of columns of a control. Mature Represents the control that redistributes space between columns or rows of a Grid control. Mature Represents the control that redistributes space between columns or rows of a Grid control. Mature Represents the control that redistributes space between columns or rows of a Grid control. Mature Represents the control that redistributes space between columns or rows of a Grid control. Mature Represents the control that redistributes space between columns or rows of a Grid control. Mature Represents the control that redistributes space between columns or rows of a Grid control. Mature Represents the control that redistributes space between columns or rows of a Grid control. Mature Inherited code: Requires comment. Inherited code: Requires comment. Default increment parameter. Default increment parameter. Identifies the dependency property. An identifier for the dependency property. Identifies the dependency property. An identifier for the dependency property. Called when the IsEnabled property changes. Sender object. Property changed args. Is Null until a resize operation is initiated with ShowsPreview == True, then it persists for the life of the GridSplitter. Is initialized in the constructor. Inherited code: Requires comment. Holds the state for whether the mouse is over the control or not. Initializes a new instance of the class. Builds the visual tree for the control when a new template is applied. Returns a for use by the Silverlight automation infrastructure. A for the object. Method to change the visual state of the control. Change to the correct visual state for the GridSplitter. True to use transitions when updating the visual state, false to snap directly to the new visual state. Handle the drag completed event to commit or cancel the resize operation in progress. Inherited code: Requires comment. Inherited code: Requires comment 1. Handle the drag delta event to update the UI for the resize operation in progress. Inherited code: Requires comment. Inherited code: Requires comment 1. Handle the drag started event to start a resize operation if the control is enabled. Inherited code: Requires comment. Inherited code: Requires comment 1. Handle the key down event to allow keyboard resizing or canceling a resize operation. Inherited code: Requires comment. Inherited code: Requires comment 1. Initialize the resize data and move the splitter by the specified amount. Horizontal amount to move the splitter. Vertical amount to move the splitter. Inherited code: Requires comment. Called by keyboard event handler to move the splitter if allowed. Horizontal amount to move the splitter. Vertical amount to move the splitter. Inherited code: Requires comment. Creates the preview layer and adds it to the parent grid. Grid to add the preview layer to. Add the preview layer to the Grid if it is not there already and then show the preview control. Remove the preview control from the preview layer if it exists. Initialize the resizeData object to hold the information for the resize operation in progress. Whether or not the preview should be shown. Move the splitter and resize the affected columns or rows. Amount to resize horizontally. Amount to resize vertically. Only one of horizontalChange or verticalChange will be non-zero. Determine which adjacent column or row definitions need to be included in the resize operation and set up resizeData accordingly. True if it is a valid resize operation. Cancel the resize operation in progress. Get the actual length of the given definition. Row or column definition to get the actual length for. Height of a row definition or width of a column definition. Determine the max and min that the two definitions can be resized. Inherited code: Requires comment. Determine the resize behavior based on the given direction and alignment. Inherited code: Requires comment. Inherited code: Requires comment 1. Determine the resize direction based on the horizontal and vertical alignments. Inherited code: Requires comment. Create a DefinitionAbstraction instance for the given row or column index in the grid. Inherited code: Requires comment. Inherited code: Requires comment 1. Inherited code: Requires comment 2. Inherited code: Requires comment 3. Set the lengths of the two definitions depending on the split behavior. Inherited code: Requires comment. Inherited code: Requires comment 1. Set the height/width of the given row/column. Inherited code: Requires comment. Inherited code: Requires comment 1. Determine if the given definition has its size set to the "*" value. Inherited code: Requires comment. Inherited code: Requires comment 1. This code will run whenever the effective resize direction changes, to update the template being used to display this control. Exposes test hooks to unit tests with internal access. Gets or sets Inherited code: Requires comment. Gets or sets Inherited code: Requires comment. Gets or sets the resize data. This is null unless a resize operation is in progress. Gets or sets a value indicating whether the displays a preview. True if a preview is displayed; otherwise, false. Gets or sets the that is used for previewing changes. The style that is used to preview changes. Gets a value indicating whether or not the control has keyboard focus. Gets a test hook for unit tests with internal access. Pretends to be the base class for RowDefinition and ClassDefinition types so that objects of either type can be treated as one. Mature Creates an instance of the DefinitionAbstraction class based on the given row or column definition. RowDefinition or ColumnDefinition instance. Gets the stored definition cast as a row definition. Null if not a RowDefinition. Gets the stored definition cast as a column definition. Null if not a ColumnDefinition. Gets the MaxHeight/MaxWidth for the row/column. Gets the MinHeight/MinWidth for the row/column. Gets the Height/Width for the row/column. A collection of helper methods for working with double data types. Mature Epsilon is the smallest value such that 1.0+epsilon != 1.0. It can be used to determine the acceptable tolerance for rounding errors. Epsilon is normally 2.2204460492503131E-16, but Silverlight 2 uses floats so the effective epsilon is really 1.192093E-07. Inherited code: Requires comment. Determine if the two doubles are effectively equal within tolerances. Inherited code: Requires comment. Inherited code: Requires comment 1. Inherited code: Requires comment 2. Inherited code: Requires comment. Mature Inherited code: Requires comment. Inherited code: Requires comment. Inherited code: Requires comment. Inherited code: Requires comment. Inherited code: Requires comment. Mature Inherited code: Requires comment. Inherited code: Requires comment. Inherited code: Requires comment. Type to hold the data for the resize operation in progress. Mature Gets or sets Inherited code: Requires comment. Gets or sets Inherited code: Requires comment. Gets or sets Inherited code: Requires comment. Gets or sets Inherited code: Requires comment. Gets or sets Inherited code: Requires comment. Gets or sets Inherited code: Requires comment. Gets or sets Inherited code: Requires comment. Gets or sets Inherited code: Requires comment. Gets or sets Inherited code: Requires comment. Gets or sets Inherited code: Requires comment. Gets or sets Inherited code: Requires comment. Gets or sets Inherited code: Requires comment. Gets or sets Inherited code: Requires comment. Gets or sets Inherited code: Requires comment. Gets or sets a value indicating whether Inherited code: Requires comment. Gets or sets Inherited code: Requires comment. Gets or sets Inherited code: Requires comment. Gets or sets Inherited code: Requires comment. Inherited code: Requires comment. Mature Inherited code: Requires comment. Inherited code: Requires comment. Inherited code: Requires comment. Expose test hooks for internal and private members of the GridSplitter. Reference to the outer 'parent' GridSplitter. Initializes a new instance of the InternalTestHook class. The grid splitter to hook. Simulate the DragValidator's DragCompleted event. The sender. Event arguments. Simulate the DragValidator's DragDelta event. The sender. Event arguments. Simulate the DragValidator's DragStarted event. The sender. Event arguments. Simulate using the keyboard to move the splitter. Horizontal change. Vertical change. A value indicating whether the splitter was moved. Gets the GridSplitter's GridResizeDirection. Gets the GridSplitter's PreviewLayer. Gets the GridSplitter's ResizeData. Exposes types to UI automation. Mature Initializes a new instance of the class. The to associate with the . Gets the control type for the element that is associated with the UI Automation peer. The control type. Called by GetClassName that gets a human readable name that, in addition to AutomationControlType, differentiates the control represented by this AutomationPeer. The string that contains the name. Gets the control pattern for the that is associated with this . One of the enumeration values. The object that implements the pattern interface, or null if the specified pattern interface is not implemented by this peer. Moves the control. Absolute screen coordinates of the left side of the control. Absolute screen coordinates of the top of the control. Resizes the control. The new width of the window, in pixels. The new height of the window, in pixels. Rotates the control. The number of degrees to rotate the control. A positive number rotates clockwise; a negative number rotates counterclockwise. Gets a value indicating whether the control can be moved. True if the element can be moved; otherwise, false. Gets a value indicating whether the UI automation element can be resized. True if the element can be resized; otherwise, false. Gets a value indicating whether the control can be rotated. True if the element can be rotated; otherwise, false. Represents the control that shows a preview of the GridSplitter's redistribution of space between columns or rows of a Grid control. Mature Inherited code: Requires comment. Inherited code: Requires comment. Is Null until the PreviewControl is bound to a GridSplitter. Tracks the bound GridSplitter's location for calculating the PreviewControl's offset. Instantiate the PreviewControl. Called when template should be applied to the control. Bind the the dimensions of the preview control to the associated grid splitter. GridSplitter instance to target. Gets or sets Inherited code: Requires comment. Gets or sets Inherited code: Requires comment. Gets or sets the x-axis offset for the underlying render transform. Gets or sets the y-axis offset for the underlying render transform. Exposes types to UI automation. Stable Initializes a new instance of the class. The to associate with the . Gets the control type for the that is associated with this . This method is called by . The enumeration value. Gets the name of the that is associated with . This method is called by . A string that contains TreeView. Gets a control pattern for the that is associated with this . One of the enumeration values that indicates the control pattern. The object that implements the pattern interface, or null if the specified pattern interface is not implemented by this peer. Gets the collection of child elements of the that is associated with this . The collection of child elements. Retrieves a UI automation provider for each child element that is selected. An array of UI automation providers. This API supports the .NET Framework infrastructure and is not intended to be used directly from your code. Gets the TreeView that owns this TreeViewAutomationPeer. Gets a value indicating whether the UI automation provider allows more than one child element to be selected at the same time. True if multiple selection is allowed; otherwise, false. This API supports the .NET Framework infrastructure and is not intended to be used directly from your code. Gets a value indicating whether the UI automation provider requires at least one child element to be selected. True if selection is required; otherwise, false. This API supports the .NET Framework infrastructure and is not intended to be used directly from your code. Exposes the items in types to UI automation. Stable Initializes a new instance of the class. The instance to associate with this . Gets the control type for the that is associated with this . This method is called by . The enumeration value. Gets the name of the that is associated with this . This method is called by . A string that contains TreeViewItem. Gets the control pattern for the that is associated with this . One of the enumeration values. The object that implements the pattern interface, or null if the specified pattern interface is not implemented by this peer. Raise the IsSelected property changed event. A value indicating whether the TreeViewItem is selected. Raise an automation event when a TreeViewItem is expanded or collapsed. A value indicating whether the TreeViewItem was expanded. A value indicating whether the TreeViewItem is expanded. Displays all child nodes, controls, or content of the control. This API supports the .NET Framework infrastructure and is not intended to be used directly from your code. Hides all nodes, controls, or content that are descendants of the control. This API supports the .NET Framework infrastructure and is not intended to be used directly from your code. Adds the current element to the collection of selected items. This API supports the .NET Framework infrastructure and is not intended to be used directly from your code. Clears any selection and then selects the current element. This API supports the .NET Framework infrastructure and is not intended to be used directly from your code. Removes the current element from the collection of selected items. This API supports the .NET Framework infrastructure and is not intended to be used directly from your code. Scrolls the content area of a container object in order to display the control within the visible region (viewport) of the container. This API supports the .NET Framework infrastructure and is not intended to be used directly from your code. Gets the TreeViewItem that owns this TreeViewItemAutomationPeer. Gets the state (expanded or collapsed) of the control. The state (expanded or collapsed) of the control. This API supports the .NET Framework infrastructure and is not intended to be used directly from your code. Gets a value indicating whether an item is selected. True if an item is selected; otherwise, false. This API supports the .NET Framework infrastructure and is not intended to be used directly from your code. Gets the UI automation provider that implements and acts as the container for the calling object. The UI automation provider. This API supports the .NET Framework infrastructure and is not intended to be used directly from your code. A specialized data template selector. Initializes a new instance of the DataTemplateSelector type. Convert a value to a data template. The value. The target parameter. ConverterParameter value. The culture parameter. Returns the object. No 2-way databinding support. The value. The target parameter. ConverterParameter value. The culture parameter. Returns the object. Gets or sets the default data template. Gets or sets the test method template. Gets or sets the test class template. A specialized bool inversion selector. Initializes a new instance of the InvertValueConverter class. Convert a value to its opposite. Defines that null value will also return false. The value. The target parameter. ConverterParameter value. The culture parameter. Returns the object. No 2-way databinding support. The value. The target parameter. ConverterParameter value. The culture parameter. Returns the object. A notification type for use in the Notifications ItemsControl. Name of the template part. Identifies the Title dependency property. Identifies the CloseButtonVisibility dependency property. Backing field for the close button. Initializes a new instance of the Notification class. Fires the Closed event. The event data. Overrides the on apply template method. Connects to the Click event of the Close button. The source object. The event arguments. Gets or sets the title of the notification. Gets or sets the visibility of the close button. Closed event that connects to the close button of the notification. A class that contains notification information. Initialize a new intance of the Notifications type. Overrides the on apply template method. Adds a notification object to the set of notifications. Connects the close button handler to automatically remove the notification from the visual tree. A notification instance. Handles the Closed event from the notification and removes the child. The source object. The event data. This class contains information about the test application and its deployment settings. Initializes a new instance of the class. Handles the install state changed event. The source object. The event arguments. Backing field for an installed property. Gets a value indicating whether the test application is currently installed out of browser. Gets the text to show the user the state of the out of browser test application. Gets a value indicating whether out of browser is both supported and not currently installed. Gets a value indicating whether out of browser is supported by this test application. A simple implementation similar to XElement. Backing field for child elements. Backing field for attributes. Backing field for the element name. Backing field for optional XML namespace. Initializes a new instance of the class. Initializes a new instance of the element. The name of the element. Initializes a new instance of the element. The name of the element. The XML namespace of the element. Initializes a new instance of the class using the reader as the current root of the element. The XmlReader instance. Sets the value of a new child element. The element name. The value of the new element. Sets the value of a new child element with an XML namespace value. The element name. The value of the new element. The XML namespace. Sets the value of an attribute. The attribute name. The attribute value. Sets the value of the element. The new string value. Gets an attribute value. The attribute name. Returns an instance of the attribute value. Adds a child element to the simple element instance. The child element instance. Returns descendants. The element name to look for. Returns an enumeration of elements. Creates a new SimpleXElement. XML content. Returns a new instance of the element and children. Parses the current level with the XmlReader instance. The reader instance. A value indicating whether this is the first parse. Actually this will always be true for now. Generates the string representation of the element and its tree. Returns the string representation of the element. Writes to the XML writer without document start and ends. The writer instance. Gets the element name. Gets or sets the element text, if any.