Click or drag to resize
Ranorex

FileDataConnector Class

A base class for file based data connectors.
Inheritance Hierarchy
SystemObject
  Ranorex.Core.DataDataConnector
    Ranorex.Core.DataFileDataConnector
      Ranorex.Core.DataCsvDataConnector
      Ranorex.Core.DataExcelDataConnector

Namespace:  Ranorex.Core.Data
Assembly:  Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntax
public abstract class FileDataConnector : DataConnector

The FileDataConnector type exposes the following members.

Constructors
  NameDescription
Public methodFileDataConnector(XmlNode)
Initializes a new instance of the FileDataConnector class.
Public methodFileDataConnector(String, Boolean)
Initializes a new instance of the FileDataConnector class.
Top
Properties
  NameDescription
Public propertyFileName
Gets or sets the name of the file.
Public propertyId
Gets or sets the unique ID of the source.
(Inherited from DataConnector.)
Public propertyIncludeFile
Gets or sets a value specifying whether the file should be included into the associated project.
Public propertyIsReadOnly
Gets or sets a value indicating whether this instance is read-only.
(Inherited from DataConnector.)
Public propertyName
Gets or sets the name of the source.
(Inherited from DataConnector.)
Public propertyResolvedFileName
Gets the name of the resolved file that takes relative paths into account.
Public propertyXmlIdentifier
Gets the unique identifier for serialization and deserialization purposes as well as factory creation.
(Inherited from DataConnector.)
Top
Methods
  NameDescription
Public methodDispose
Clean up any resources being used.
(Inherited from DataConnector.)
Protected methodDispose(Boolean)
Clean up any resources being used.
(Inherited from DataConnector.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetXMLNode
Gets an XML node containing the definition of this source.
(Inherited from DataConnector.)
Protected methodGetXMLNodeDerived
Add DataSource specific information from derived classes to the node
(Inherited from DataConnector.)
Public methodLoadColumns
Loads the data columns from the source.
(Inherited from DataConnector.)
Protected methodLoadColumnsImpl(ColumnCollection)
If implemented by an inheriting class, loads the data columns from the source.
(Inherited from DataConnector.)
Protected methodLoadColumnsImpl(ColumnCollection, Int32)
If implemented by an inheriting class, loads the data columns from the source and the number of rows in the data source.
(Inherited from DataConnector.)
Public methodLoadData
Loads the data from the source.
(Inherited from DataConnector.)
Protected methodLoadDataImpl
Sets up a file watcher on the data file and creates instances for the columns and rows arguments.
(Overrides DataConnectorLoadDataImpl(ColumnCollection, RowCollection).)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnFileNameChanged
Called when the filename changes
Public methodStatic memberResolveFilename(String)
Resolves the specified file name taking relative paths into account.
Public methodStatic memberResolveFilename(String, Boolean)
Resolves the specified file name taking relative paths into account.
Public methodStoreData
Stores the data to the data source.
(Inherited from DataConnector.)
Protected methodStoreDataImpl
If implemented by an inheriting class, stores the data to the data source.
(Inherited from DataConnector.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also