Table of Contents

Class AdapterDownloadResult

Namespace
MES.MQC.DataSourceLibrary.Models.Adapters
Assembly
MES.MQC.DataSourceLibrary.dll

The Result of Download

public class AdapterDownloadResult
Inheritance
AdapterDownloadResult
Inherited Members

Properties

DateTime

DateTime of the current api request, returned from the api server.

public DateTime DateTime { get; set; }

Property Value

DateTime

UseFileCreationTimeForAll

If true, the DateTime from the API will be used. as the report date, while importing all files, downloaded by this adapter, with file adapters. The files need to have the DateTime from the API set as creation time:

File.SetCreationTime
.
public bool UseFileCreationTimeForAll { get; set; }

Property Value

bool

UseFileCreationTimePaths

If UseFileCreationTimeForAll is not true, this list can provide directoryPaths or filePaths. For every file in a directory path and for a file path, the DateTime from the API will be used as the report date, while importing all files, downloaded by this adapter, with file adapters. The files need to have the DateTime from the API set as creation time:

File.SetCreationTime
.
public List<string> UseFileCreationTimePaths { get; set; }

Property Value

List<string>