Class RepoGenBaseFolder
- Namespace
- Ranorex.Core.Repository
- Assembly
- Ranorex.Core.dll
The base class for all generated repository folder classes.
public abstract class RepoGenBaseFolder : IReportMetadata
- Inheritance
-
RepoGenBaseFolder
- Implements
- Inherited Members
Constructors
RepoGenBaseFolder(string, string, RepoGenBaseFolder, Duration, bool)
Initializes a new instance of the RepoGenBaseFolder class.
public RepoGenBaseFolder(string name, string basePath, RepoGenBaseFolder parentFolder, Duration folderSearchTimeout, bool useCache)
Parameters
namestringThe name.
basePathstringThe base path.
parentFolderRepoGenBaseFolderThe app folder.
folderSearchTimeoutDurationThe folder search timeout.
useCacheboolif set to
trueuse cache.
RepoGenBaseFolder(string, string, RepoGenBaseFolder, Duration, bool, string)
Initializes a new instance of the RepoGenBaseFolder class.
public RepoGenBaseFolder(string name, string basePath, RepoGenBaseFolder parentFolder, Duration folderSearchTimeout, bool useCache, string folderId)
Parameters
namestringThe name.
basePathstringThe base path.
parentFolderRepoGenBaseFolderThe app folder.
folderSearchTimeoutDurationThe folder search timeout.
useCacheboolif set to
trueuse cache.folderIdstringThe id of the associated repository folder.
RepoGenBaseFolder(string, string, RepoGenBaseFolder, Duration, bool, string, string)
Initializes a new instance of the RepoGenBaseFolder class.
public RepoGenBaseFolder(string name, string basePath, RepoGenBaseFolder parentFolder, Duration folderSearchTimeout, bool useCache, string folderId, string imageResourceFileName)
Parameters
namestringThe name.
basePathstringThe base path.
parentFolderRepoGenBaseFolderThe app folder.
folderSearchTimeoutDurationThe folder search timeout.
useCacheboolif set to
trueuse cache.folderIdstringThe id of the associated repository folder.
imageResourceFileNamestringThe image resource file name of the associated repository.
RepoGenBaseFolder(string, string, RepoGenBaseFolder, Duration, bool?, bool, string, string)
Initializes a new instance of the RepoGenBaseFolder class.
public RepoGenBaseFolder(string name, string basePath, RepoGenBaseFolder parentFolder, Duration folderSearchTimeout, bool? useEnsureVisible, bool useCache, string folderId, string imageResourceFileName)
Parameters
namestringThe name.
basePathstringThe base path.
parentFolderRepoGenBaseFolderThe app folder.
folderSearchTimeoutDurationThe folder search timeout.
useEnsureVisiblebool?The value set to UseEnsureVisible of the adapter created for this folder.
useCacheboolif set to
trueuse cache.folderIdstringThe id of the associated repository folder.
imageResourceFileNamestringThe image resource file name of the associated repository.
Fields
_selfInfo
A RepoItemInfo instance containing information about this folder.
[CLSCompliant(false)]
protected readonly RepoItemInfo _selfInfo
Field Value
Properties
AbsoluteBasePath
The absolute base path for the folder.
public RxPath AbsoluteBasePath { get; }
Property Value
BasePath
The base path for the folder.
public RxPath BasePath { get; set; }
Property Value
Remarks
This value should not be changed by user code.
BasePathString
The base path for the folder as string.
protected string BasePathString { get; }
Property Value
FolderElementValid
Gets a value indicating whether the cached folder element is still valid.
protected bool FolderElementValid { get; }
Property Value
- bool
trueif the cached folder element is valid; otherwise,false.
ParentFolder
The parent folder of this folder.
public RepoGenBaseFolder ParentFolder { get; }
Property Value
- RepoGenBaseFolder
The parent folder of this folder or
nullif this folder does not have a parent.
SearchTimeout
Gets or sets the search timeout for the folder.
public Duration SearchTimeout { get; set; }
Property Value
- Duration
The search timeout value.
UseCache
Gets or sets a value indicating whether to cache the element corresponding to this folder.
public bool UseCache { get; set; }
Property Value
- bool
trueif the folder should be cached; otherwise,false.
Methods
GetMetaInfos()
Returns a (non read-only!) dictionary of string key-value pairs specifying meta data for a report.
public IDictionary<string, string> GetMetaInfos()
Returns
- IDictionary<string, string>
A (non read-only!) dictionary of strings.
ToString()
Returns a string representation, i.e. the Ranorex.Core.Repository.RepoGenBaseFolder.FullName, of this instance.
public override string ToString()
Returns
- string
The Ranorex.Core.Repository.RepoGenBaseFolder.FullName of this instance.