Partager via


DataDrivenAdapterBase Class

Definition

Represents the base adapter abstract class to manage access between the application, user interface, and automated entities within UII.

public ref class DataDrivenAdapterBase abstract : IDisposable
public abstract class DataDrivenAdapterBase : IDisposable
type DataDrivenAdapterBase = class
    interface IDisposable
Public MustInherit Class DataDrivenAdapterBase
Implements IDisposable
Inheritance
DataDrivenAdapterBase
Derived
Implements

Constructors

DataDrivenAdapterBase(XmlDocument)

Initializes a new instance of the DataDrivenAdapterBase class.

Methods

CreateInstance(String, Object)

Instantiates specific derivations of the DataDrivenAdapterBase class.

Dispose()

Clears up any resources being used.

Dispose(Boolean)

Overridden. Unregisters the event listeners.

ExecuteControlAction(String, Boolean, String)

Executes the designated action of the named control.

Finalize()

Destructor for the DataDrivenAdapterBase class.

FindControl(String)

Reports whether the named control is available for use.

GetAttributeValue(XmlNode, String, Int32)

Retrieves an integer valued attribute from an XML node.

GetAttributeValue(XmlNode, String, String)

Retrieves a string valued attribute from an XML node.

GetAvailableApplicationEvents()

Gets the list of application events propagated. Intended for design-time use. Custom implementation not required for run-time operation.

GetAvailableControlEvents()

Gets the list of control events propagated. Intended for design-time use. Custom implementation isn’t required for run-time operation.

GetControlConfig(String)

Gets the subordinate nodes from a top-level XML node of a data-driven adapter control binding.

GetControlNames()

Gets the control names.

GetControlValue(String, String)

Gets the current value of the control.

GetFirstDescendentUnderControlConfig(String, String)

Retrieves the first descendent node from a top-level XML node of a data-driven adapter control binding.

OperationHandler(OperationType, String, String, String)

Calls to the DataDrivenAdapterBaseAPI to manipulate the user interface (UI) are dispatched to this handler. Override to implement custom behavior.

OperationHandler(OperationType, String, String)

Calls to the DataDrivenAdapterBase API to manipulate the UI are dispatched to this handler. Override to implement custom behavior.

RaiseEvent(Object, String, String, String)

Raises events where necessary. There is no synchronization context marshalling. Events go out on the thread that raised them. It is the listeners responsibility to perform an application-specific thread marshalling as required.

RegisterEventListener(String, String, EventHandler<ControlChangedEventArgs>, String)

Facilitates explicit data-driven adapter event listener registration.

RegisterEventListener(String, String, EventHandler<ControlChangedEventArgs>)

Facilitates explicit data-driven adapter event listener registration.

RegisterEventListenerBase(String, String, EventHandler<ControlChangedEventArgs>)

Adds the specified listenerCallback to the internal list of registered listeners. Once registered, RaiseEvent can then be used to raise the event to the registered listeners.

SetControlValue(String, String, String)

Assigns a new value to the named control.

UnregisterEventListener(String, String, EventHandler<ControlChangedEventArgs>)

Facilitates explicit data-driven adapter event listener unregistration. Called for every registered event on Dispose.

UnregisterEventListenerBase(String, String, EventHandler<ControlChangedEventArgs>)

Removes the specified listenerCallback from the internal list of registered listeners. Once unregistered, RaiseEvent no longer can be used to raise the event.

Applies to