Class SourceFileList
Specifies a list of source files for data transfer.
Namespace: DNVGL.One.Compute.Core.FlowModel.DataTransfer
Assembly: DNVGL.One.Compute.Core.dll
Syntax
public class SourceFileList : SourceSpecification
Constructors
View SourceSourceFileList()
Initializes a new instance of the SourceFileList class.
Declaration
public SourceFileList()
Properties
View SourceExcludedFiles
Gets or sets the relative paths to files that should be excluded from data transfer. Paths must be relative to SourceRootDirectory. File patterns can be used, e.g. */.txt to match any .txt file in any sub directory of the root. The Glob standard (https://en.wikipedia.org/wiki/Glob_(programming) is supported.
Declaration
public List<string> ExcludedFiles { get; set; }
Property Value
Type | Description |
---|---|
List<System.String> | The excluded files. |
SelectedFiles
Gets or sets the relative paths to files selected for data transfer. Paths must be relative to SourceRootDirectory. File patterns can be used, e.g. */.txt to match any .txt file in any sub directory of the root. The Glob standard (https://en.wikipedia.org/wiki/Glob_(programming) is supported.
Declaration
public List<string> SelectedFiles { get; set; }
Property Value
Type | Description |
---|---|
List<System.String> | The selected files. |
Remarks
If transferred to a BLOB container using the BlobContainerDestinationSpecification, the file will be placed relative to the destination directory (Directory) with a relative path given by its path relative to SourceRootDirectory at the source.
SourceRootDirectory
Gets or sets the source root directory. If null or empty, the working directory is used as root.
Declaration
public string SourceRootDirectory { get; set; }
Property Value
Type | Description |
---|---|
System.String | The source root directory. |