Class FileSystemDirectorySpecification
Specifies a file system directory.
Inherited Members
Namespace: DNVGL.One.Compute.Core.FlowModel.DataTransfer
Assembly: DNVGL.One.Compute.Core.dll
Syntax
[DataContract]
public class FileSystemDirectorySpecification : StorageSpecification
Properties
View SourceDirectory
Gets or sets the directory.
Declaration
[DataMember]
public string Directory { get; set; }
Property Value
Type | Description |
---|---|
string | The directory. |
Remarks
If null or empty, the current directory will be assumed.
See Also
Methods
View SourceGetNormalizedDirectory()
Normalizes the directory by replacing any occurrences of back slashes, forward slashes, or a combination of both with the platform-specific directory separator character, to guarantee compatibility across different platforms.
Declaration
public override string GetNormalizedDirectory()
Returns
Type | Description |
---|---|
string | A platform compatible path. |
Overrides
See Also
View SourceToString()
Returns a string that represents this instance.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | A string that represents this instance. |