Class FileReaderOptions.InputFromFilePath
- Namespace
- MES.MQC.DataSourceLibrary.Models.Adapters
- Assembly
- MES.MQC.DataSourceLibrary.dll
[JsonObject(ItemRequired = Required.DisallowNull, ItemNullValueHandling = NullValueHandling.Ignore)]
public class FileReaderOptions.InputFromFilePath
- Inheritance
-
FileReaderOptions.InputFromFilePath
- Derived
- Inherited Members
Properties
IsFallback
Should the value from file path only be used as a fallback (if it was empty/null).
[JsonProperty(Required = Required.DisallowNull, DefaultValueHandling = DefaultValueHandling.Ignore)]
public bool IsFallback { get; set; }
Property Value
Regex
Regex to extract the value from a file path.
[JsonProperty(Required = Required.Always, DefaultValueHandling = DefaultValueHandling.Ignore)]
public string Regex { get; set; }
Property Value
Result
Which result should be used from the regex? (e.g. $1).
[JsonProperty(Required = Required.Always, DefaultValueHandling = DefaultValueHandling.Ignore)]
public string Result { get; set; }