Class
ElementsModule

Definition

Namespace:ArtOfTest.WebAii.Design.ProjectModel.Providers.Modules

Assembly:ArtOfTest.WebAii.Design.dll

Syntax:

cs-api-definition
public class ElementsModule : ModuleBase

Inheritance: objectModuleBaseElementsModule

Inherited Members ModuleBase.TriggerAsyncFunc<T>(Func<T>)ModuleBase.TriggerAsyncAction(Action)ModuleBase.InvokeOnUIThread(Action, bool)

Properties

FileSystemProvider

Declaration

cs-api-definition
protected FileSystemProvider FileSystemProvider { get; }

Property Value

FileSystemProvider

Project

Declaration

cs-api-definition
protected override Project Project { get; }

Property Value

Project

Overrides ModuleBase.Project

Methods

AddElementDescriptor(ElementDescriptor, string)

Adds the element descriptor.

Declaration

cs-api-definition
public void AddElementDescriptor(ElementDescriptor desc, string filePath)

Parameters

desc

ElementDescriptor

The desc.

filePath

string

The file path.

FixTestAsStepActionDescriptor(ExecuteTestActionDescriptor)

Fixes the test as step action descriptor.

Declaration

cs-api-definition
public void FixTestAsStepActionDescriptor(ExecuteTestActionDescriptor testAsStep)

Parameters

testAsStep

ExecuteTestActionDescriptor

The test as step.

GenerateElementsCode()

Generates the elements code -> Pages.g

Declaration

cs-api-definition
public void GenerateElementsCode()

OnBeforeElementsLoad()

Declaration

cs-api-definition
protected virtual void OnBeforeElementsLoad()

OnElementLoaded(LightElementNode)

Declaration

cs-api-definition
protected virtual void OnElementLoaded(LightElementNode lightElement)

Parameters

lightElement

LightElementNode

OnElementsLoaded()

Declaration

cs-api-definition
protected virtual void OnElementsLoaded()

OnElementsReplacementEnded()

Declaration

cs-api-definition
protected virtual void OnElementsReplacementEnded()

OnElementsReplacementStarted()

Declaration

cs-api-definition
protected virtual void OnElementsReplacementStarted()

RefreshElements()

Refreshes the elements. This does NOT trigger the extraction process again.

Declaration

cs-api-definition
public void RefreshElements()

TryMatchMergedElement(ElementDescriptor, out ElementDescriptor)

Declaration

cs-api-definition
public bool TryMatchMergedElement(ElementDescriptor element, out ElementDescriptor target)

Parameters

element

ElementDescriptor

target

ElementDescriptor

Returns

bool

Events

BeforeElementsLoad

Occurs when before elements load starts.

Declaration

cs-api-definition
public event Action BeforeElementsLoad

Event Value

Action

ElementLoaded

Occurs when the Root element is loaded

Declaration

cs-api-definition
public event Action<LightElementNode> ElementLoaded

Event Value

Action<LightElementNode>

ElementsLoaded

Declaration

cs-api-definition
public event Action ElementsLoaded

Event Value

Action

ElementsReplacementEnded

Declaration

cs-api-definition
public event Action ElementsReplacementEnded

Event Value

Action

ElementsReplacementStarted

Declaration

cs-api-definition
public event Action ElementsReplacementStarted

Event Value

Action