Class ElementsProvider
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: ArtOfTest.WebAii.Design.ProjectModel.Providers
Assembly: ArtOfTest.WebAii.Design.dll
Syntax
public class ElementsProvider : BaseProvider<LightElementNode>
Constructors
ElementsProvider()
Declaration
public ElementsProvider()
Fields
PROGRESS_REPORTER_KEY
Declaration
public const string PROGRESS_REPORTER_KEY = "ElementsProviderReporterKey"
Field Value
System.String
|
Properties
CachedDescriptors
Declaration
public ConcurrentDictionary<ElementDescriptor, string> CachedDescriptors { get; }
Property Value
System.Collections.Concurrent.ConcurrentDictionary<ElementDescriptor, System.String>
|
ElementsTree
RootNode
Methods
AddElementDescriptor(ElementDescriptor, String)
Declaration
public void AddElementDescriptor(ElementDescriptor desc, string filePath)
Parameters
ElementDescriptor
desc
|
System.String
filePath
|
Clear()
Declaration
public override void Clear()
Overrides
ArtOfTest.WebAii.Design.ProjectModel.Providers.BaseProvider<ArtOfTest.WebAii.Design.ProjectModel.LightElementNode>.Clear()
CollectDirtyNodes()
Declaration
public void CollectDirtyNodes()
ExcludeElementsByTestPath(String)
Declaration
public void ExcludeElementsByTestPath(string path)
Parameters
System.String
path
|
ExtractElements(String)
Declaration
public IList<ElementDescriptor> ExtractElements(string filePath)
Parameters
System.String
filePath
|
Returns
System.Collections.Generic.IList<ElementDescriptor>
|
GetItem(Guid)
Declaration
public override LightElementNode GetItem(Guid id)
Parameters
System.Guid
id
|
Returns
LightElementNode
|
Overrides
ArtOfTest.WebAii.Design.ProjectModel.Providers.BaseProvider<ArtOfTest.WebAii.Design.ProjectModel.LightElementNode>.GetItem(System.Guid)
GetReporterKey()
Declaration
protected override string GetReporterKey()
Returns
System.String
|
Overrides
ArtOfTest.WebAii.Design.ProjectModel.Providers.BaseProvider<ArtOfTest.WebAii.Design.ProjectModel.LightElementNode>.GetReporterKey()
Load(List<String>)
Declaration
public void Load(List<string> testFiles)
Parameters
System.Collections.Generic.List<System.String>
testFiles
|
Load(String)
Declaration
public override void Load(string location)
Parameters
System.String
location
|
Overrides
ArtOfTest.WebAii.Design.ProjectModel.Providers.BaseProvider<ArtOfTest.WebAii.Design.ProjectModel.LightElementNode>.Load(System.String)
LoadAsync(List<String>)
Declaration
public void LoadAsync(List<string> testFiles)
Parameters
System.Collections.Generic.List<System.String>
testFiles
|
RefreshElements()
Declaration
public void RefreshElements()
ReplaceExtractedElements(TestBase, Boolean)
Declaration
public void ReplaceExtractedElements(TestBase test, bool wait = false)
Parameters
TestBase
test
|
System.Boolean
wait
|
TryUpdateItem(LightElementNode)
Declaration
public override bool TryUpdateItem(LightElementNode item)
Parameters
LightElementNode
item
|
Returns
System.Boolean
|
Overrides
ArtOfTest.WebAii.Design.ProjectModel.Providers.BaseProvider<ArtOfTest.WebAii.Design.ProjectModel.LightElementNode>.TryUpdateItem(ArtOfTest.WebAii.Design.ProjectModel.LightElementNode)
UpdateProjectLocation(String)
Declaration
public override void UpdateProjectLocation(string newLocation)
Parameters
System.String
newLocation
|
Overrides
ArtOfTest.WebAii.Design.ProjectModel.Providers.BaseProvider<ArtOfTest.WebAii.Design.ProjectModel.LightElementNode>.UpdateProjectLocation(System.String)
Events
ElementsReplacementEnded
Declaration
public event Action ElementsReplacementEnded
Event Type
System.Action
|
ElementsReplacementStarted
Declaration
public event Action ElementsReplacementStarted
Event Type
System.Action
|