◆ AspectEngineDataFile()
FiftyOne.Pipeline.Engines.Data.AspectEngineDataFile.AspectEngineDataFile | ( | Type | engineType = null
| ) |
Constructor
- Parameters
-
- engineType - The type of the engine that this data file is used by.
\r\n
This class contains all configuration and run-time state information that is associated with a particular data file used by an aspect engine.
AspectEngineDataFile (Type engineType=null)
Constructor More...
| |
void | SetDataUpdateService (IDataUpdateService dataUpdateService)
Set the data update service that this data file is registered with. More...
|
void | Dispose ()
Dispose of this instance's resources. More...
|
virtual string | FormattedUrl => FormattedUri.AbsoluteUri
Get the data update URL complete with any query string parameters that are needed to retrieve the data. More...
|
string?? | Identifier [get, set]
The name or identifier for this data file object. More...
|
IOnPremiseAspectEngine | Engine [get, set]
Get or set the IOnPremiseAspectEngine associated with this data file. More...
|
Type | EngineType [get]
Get or set the type of the engine that this data file is for. More...
|
virtual string | DataFilePath [get]
The complete file path to the location of the data file. More...
|
string | TempDataDirPath [get, set]
The path to use when working with temporary files associated with this data file. More...
|
virtual bool | AutomaticUpdatesEnabled [get]
True if automatic updates are enabled, false otherwise. More...
|
virtual string | TempDataFilePath [get, set]
The complete file path to the location of the temporary copy of the data file that is currently being used by the IAspectEngine. More...
|
DateTime | UpdateAvailableTime [get, set]
The date/time that a data update is expected to be available. More...
|
DateTime | DataPublishedDateTime [get, set]
The data/time that this data was published. More...
|
IDataFileConfiguration | Configuration [get, set]
The configuration parameters used when creating this data file instance. More...
|
virtual Uri | FormattedUri [get]
Get the data update URL complete with any query string parameters that are needed to retrieve the data. More...
|
bool | IsRegistered [get]
Returns true if this file has been registered with the data update service. More...
|
Properties inherited from FiftyOne.Pipeline.Engines.Data.IAspectEngineDataFile | |
string | Identifier [get, set]
An identifier for this data file. More...
|
IOnPremiseAspectEngine | Engine [get, set]
The engine this data file is used by More...
|
Type | EngineType [get]
Get the type of the engine that this data file is for. More...
|
string | DataFilePath [get]
The complete file path to the location of the data file. More...
|
string | TempDataDirPath [get, set]
The path to use when working with temporary files associated with this data file. More...
|
string | TempDataFilePath [get, set]
The complete file path to the location of the temporary copy of the data file that is currently being used by the IAspectEngine. More...
|
bool | AutomaticUpdatesEnabled [get]
True if automatic updates are enabled, false otherwise. More...
|
DateTime | UpdateAvailableTime [get, set]
The date and time by which an update to the current data file is expected to have been published. More...
|
DateTime | DataPublishedDateTime [get, set]
The date and time that the current data file was published. More...
|
IDataFileConfiguration | Configuration [get, set]
The configuration that was provided for this data file. More...
|
string | FormattedUrl [get]
Get the data update URL complete with any query string parameters that are needed to retrieve the data. More...
|
Uri | FormattedUri [get]
Get the data update URL complete with any query string parameters that are needed to retrieve the data. More...
|
bool | IsRegistered [get]
Returns true if this file has been registered with the data update service. More...
|
FiftyOne.Pipeline.Engines.Data.AspectEngineDataFile.AspectEngineDataFile | ( | Type | engineType = null
| ) |
Constructor
virtual void FiftyOne.Pipeline.Engines.Data.AspectEngineDataFile.Dispose | ( | bool | disposing | ) |
Dispose of this instance
void FiftyOne.Pipeline.Engines.Data.AspectEngineDataFile.Dispose | ( | ) |
Dispose of this instance's resources.
void FiftyOne.Pipeline.Engines.Data.AspectEngineDataFile.SetDataUpdateService | ( | IDataUpdateService | dataUpdateService | ) |
Set the data update service that this data file is registered with.
Implements FiftyOne.Pipeline.Engines.Data.IAspectEngineDataFile.
virtual string FiftyOne.Pipeline.Engines.Data.AspectEngineDataFile.FormattedUrl => FormattedUri.AbsoluteUri |
Get the data update URL complete with any query string parameters that are needed to retrieve the data.
By default, no query string parameters are added to the URL.
virtual bool FiftyOne.Pipeline.Engines.Data.AspectEngineDataFile.AutomaticUpdatesEnabled |
True if automatic updates are enabled, false otherwise.
IDataFileConfiguration FiftyOne.Pipeline.Engines.Data.AspectEngineDataFile.Configuration |
The configuration parameters used when creating this data file instance.
virtual string FiftyOne.Pipeline.Engines.Data.AspectEngineDataFile.DataFilePath |
The complete file path to the location of the data file.
This value will be null if the file has been supplied from a byte[] in memory.
DateTime FiftyOne.Pipeline.Engines.Data.AspectEngineDataFile.DataPublishedDateTime |
The data/time that this data was published.
IOnPremiseAspectEngine FiftyOne.Pipeline.Engines.Data.AspectEngineDataFile.Engine |
Get or set the IOnPremiseAspectEngine associated with this data file.
Type FiftyOne.Pipeline.Engines.Data.AspectEngineDataFile.EngineType |
Get or set the type of the engine that this data file is for.
This exists in addition to the Engine property because Engine can be null. This then allows the user to identify which engine this file relates to.
virtual Uri FiftyOne.Pipeline.Engines.Data.AspectEngineDataFile.FormattedUri |
Get the data update URL complete with any query string parameters that are needed to retrieve the data.
By default, no query string parameters are added to the URL.
string?? FiftyOne.Pipeline.Engines.Data.AspectEngineDataFile.Identifier |
The name or identifier for this data file object.
Note that this is not the same as the filename. It is used by engines that require multiple data-files to determine what a given data file object relates to.
bool FiftyOne.Pipeline.Engines.Data.AspectEngineDataFile.IsRegistered |
Returns true if this file has been registered with the data update service.
False if not.
string FiftyOne.Pipeline.Engines.Data.AspectEngineDataFile.TempDataDirPath |
The path to use when working with temporary files associated with this data file.
virtual string FiftyOne.Pipeline.Engines.Data.AspectEngineDataFile.TempDataFilePath |
The complete file path to the location of the temporary copy of the data file that is currently being used by the IAspectEngine.
Engines often make a temporary copy of the data file in order to allow the original to be updated. This value will be null if the file is loaded entirely into memory.
DateTime FiftyOne.Pipeline.Engines.Data.AspectEngineDataFile.UpdateAvailableTime |
The date/time that a data update is expected to be available.