\r\n

51Degrees Pipeline .NET  4.1Newer Version 4.4

51Degrees Pipeline for .NET

FiftyOne.Pipeline.Engines.Services.IDataUpdateService Interface Reference

Detailed Description

Service that manages updates to data files that are used by IOnPremiseAspectEngine instances.

Inheritance diagram for FiftyOne.Pipeline.Engines.Services.IDataUpdateService:

[legend]

Public Member Functions

void  RegisterDataFile (AspectEngineDataFile dataFile)
Register an data file for automatic updates. More...
void  UnRegisterDataFile (AspectEngineDataFile dataFile)
Unregister a data file. More...
AutoUpdateStatus  CheckForUpdate (IOnPremiseAspectEngine engine, string dataFileIdentifier=null)
Check if there are updates for the specified engine. More...
AutoUpdateStatus  UpdateFromMemory (AspectEngineDataFile dataFile, byte[] data)
Update the specified data file from a byte[] held in memory. More...

Member Function Documentation

◆ CheckForUpdate()

AutoUpdateStatus FiftyOne.Pipeline.Engines.Services.IDataUpdateService.CheckForUpdate ( IOnPremiseAspectEngine   engine,
string   dataFileIdentifier = null  
)

Check if there are updates for the specified engine.

Parameters
engine - The engine to check for
dataFileIdentifier - The identifier of the data file to check for. If the engine has only one data file then this parameter is ignored.
Returns
The result of the update check.

Implemented in FiftyOne.Pipeline.Engines.Services.DataUpdateService.