ClassDataBoundObject
Definition
Namespace:ArtOfTest.Common.Design.ProjectModel
Assembly:ArtOfTest.WebAii.Design.dll
Syntax:
[DataContract(Namespace = "http://artoftest.com/schemas/WebAiiDesignCanvas/1.0.0")]
public abstract class DataBoundObject
Inheritance: objectDataBoundObject
Derived Classes:
Constructors
DataBoundObject()
Declaration
protected DataBoundObject()
Fields
Properties
Methods
BindData(string)
If the descriptor supports data driven tests, then it can use this expand method to expand bindable properties or data before execution.
BindData<T>(string)
If the descriptor supports data driven tests, then it can use this expand method to expand bindable properties or data before execution.
Declaration
protected virtual T BindData<T>(string propertyName)
Parameters
propertyName
The property to expand on this descriptor.
Returns
T
The expanded expression (if it contains and data binding expression), else the property value unexpanded
BindDataCode(string)
Helper method to use to help with code gen when a property supports data driven testing.
BindDataCode(string, PropertyInfo)
Helper method to use to help with code gen when a property supports data driven testing.
Declaration
protected virtual object BindDataCode(string propertyName, PropertyInfo customPropertyToBind)
Parameters
propertyName
The property name on this descriptor that supports data driven testing
customPropertyToBind
A custom property to bind the code to at code gen time.
Returns
An object use by the CodeGen methods to generate code that supports data driven testing.
IsDataBound(string)
Gets whether a property of this descriptor is data bound or not.