Table of Contents

Class FileReaderAdapterOptions

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

Default AdapterOptions for FileAdapters. Provides configuration to extract information from the file path (ArtifactPath, DataSourceName, MeasurementName, ReportDateTime).

public abstract class FileReaderAdapterOptions : AdapterOptions
Inheritance
AdapterOptions
FileReaderAdapterOptions
Derived
Inherited Members

Properties

ArtifactPathFromFilePath

Extract the ArtifactPath from the given file path.

[JsonProperty(Required = Required.DisallowNull, DefaultValueHandling = DefaultValueHandling.Ignore)]
public FileReaderAdapterOptions.InputFromFilePath[] ArtifactPathFromFilePath { get; set; }

Property Value

InputFromFilePath[]

DataSourceNameFromFilePath

Extract the DataSourceName from the given file path.

[JsonProperty(Required = Required.DisallowNull, DefaultValueHandling = DefaultValueHandling.Ignore)]
public FileReaderAdapterOptions.InputFromFilePath[] DataSourceNameFromFilePath { get; set; }

Property Value

InputFromFilePath[]

HumanReadableFilePaths

Find human readable file paths based on the imported data, usable in string pattern: {DataSourceName}, {ArtifactPath}, {MeasurementName}

[JsonProperty(Required = Required.DisallowNull, DefaultValueHandling = DefaultValueHandling.Ignore)]
public string[] HumanReadableFilePaths { get; set; }

Property Value

string[]

MeasurementNameFromFilePath

Extract the MeasurementName from the given file path.

[JsonProperty(Required = Required.DisallowNull, DefaultValueHandling = DefaultValueHandling.Ignore)]
public FileReaderAdapterOptions.InputFromFilePath[] MeasurementNameFromFilePath { get; set; }

Property Value

InputFromFilePath[]

ReportDateTimeFromFilePath

Extract the ReportDateTime from the given file path.

[JsonProperty(Required = Required.DisallowNull, DefaultValueHandling = DefaultValueHandling.Ignore)]
public FileReaderAdapterOptions.DateTimeFromFilePath[] ReportDateTimeFromFilePath { get; set; }

Property Value

DateTimeFromFilePath[]