Table of Contents

Class RepositoryFolder

Namespace
Ranorex.Core.Repository
Assembly
Ranorex.Core.dll
public abstract class RepositoryFolder : RepositoryEntry
Inheritance
RepositoryFolder
Derived
Inherited Members

Constructors

RepositoryFolder(ElementRepository, RepositoryFolder, string, string)

public RepositoryFolder(ElementRepository owner, RepositoryFolder parentFolder, string name, string capabilityName)

Parameters

owner ElementRepository
parentFolder RepositoryFolder
name string
capabilityName string

RepositoryFolder(XmlNode, ElementRepository, RepositoryFolder)

public RepositoryFolder(XmlNode node, ElementRepository owner, RepositoryFolder parentFolder)

Parameters

node XmlNode
owner ElementRepository
parentFolder RepositoryFolder

Properties

Children

[Browsable(false)]
public IList<RepositoryEntry> Children { get; }

Property Value

IList<RepositoryEntry>

EffectiveBasePath

[Browsable(false)]
public abstract RxPath EffectiveBasePath { get; }

Property Value

RxPath

IsRooted

[Browsable(false)]
public abstract bool IsRooted { get; }

Property Value

bool

Owner

public override sealed ElementRepository Owner { get; set; }

Property Value

ElementRepository

Methods

AddChild(RepositoryEntry)

public void AddChild(RepositoryEntry child)

Parameters

child RepositoryEntry

AddChild(RepositoryEntry, int)

public void AddChild(RepositoryEntry child, int index)

Parameters

child RepositoryEntry
index int

AddChildren(IEnumerable<RepositoryEntry>)

public void AddChildren(IEnumerable<RepositoryEntry> childrenToAdd)

Parameters

childrenToAdd IEnumerable<RepositoryEntry>

ChangeBasePathForChildren(RxPath, RxPath)

public virtual void ChangeBasePathForChildren(RxPath oldBasePath, RxPath newBasePath)

Parameters

oldBasePath RxPath
newBasePath RxPath

GetXmlNode(XmlNode, bool, RefScreenshotStoreMode)

public override XmlNode GetXmlNode(XmlNode parent, bool withTestImages, RefScreenshotStoreMode refScMode)

Parameters

parent XmlNode
withTestImages bool
refScMode RefScreenshotStoreMode

Returns

XmlNode

IsMoveChildAllowed(RepositoryEntry, RepositoryFolder)

public static bool IsMoveChildAllowed(RepositoryEntry child, RepositoryFolder targetFolder)

Parameters

child RepositoryEntry
targetFolder RepositoryFolder

Returns

bool

IsMoveChildAllowed(RepositoryEntry, RepositoryFolder, bool, out MoveDisallowedReason)

public static bool IsMoveChildAllowed(RepositoryEntry child, RepositoryFolder targetFolder, bool allowSameName, out RepositoryFolder.MoveDisallowedReason reason)

Parameters

child RepositoryEntry
targetFolder RepositoryFolder
allowSameName bool
reason RepositoryFolder.MoveDisallowedReason

Returns

bool

IsParent(RepositoryEntry)

public bool IsParent(RepositoryEntry targetEntry)

Parameters

targetEntry RepositoryEntry

Returns

bool

IsReorderChildAllowed(RepositoryEntry, RepositoryEntry, bool)

public bool IsReorderChildAllowed(RepositoryEntry child, RepositoryEntry beforeEntry, bool throwException)

Parameters

child RepositoryEntry
beforeEntry RepositoryEntry
throwException bool

Returns

bool

MoveChild(RepositoryEntry, RepositoryFolder)

public void MoveChild(RepositoryEntry child, RepositoryFolder targetFolder)

Parameters

child RepositoryEntry
targetFolder RepositoryFolder

MoveChild(RepositoryEntry, RepositoryFolder, bool)

public void MoveChild(RepositoryEntry child, RepositoryFolder targetFolder, bool rebase)

Parameters

child RepositoryEntry
targetFolder RepositoryFolder
rebase bool

RebaseEntry(RepositoryFolder, RepositoryEntry, RxPath)

public static void RebaseEntry(RepositoryFolder targetFolder, RepositoryEntry entry, RxPath oldPrefixPath)

Parameters

targetFolder RepositoryFolder
entry RepositoryEntry
oldPrefixPath RxPath

RemoveChild(RepositoryEntry)

public void RemoveChild(RepositoryEntry child)

Parameters

child RepositoryEntry

ReorderChildBefore(RepositoryEntry, RepositoryEntry)

public void ReorderChildBefore(RepositoryEntry child, RepositoryEntry beforeEntry)

Parameters

child RepositoryEntry
beforeEntry RepositoryEntry

ReorderChildToEnd(RepositoryEntry)

public void ReorderChildToEnd(RepositoryEntry child)

Parameters

child RepositoryEntry