Show / Hide Table of Contents

Class FileSystemDirectorySpecification

Specifies a file system directory.

Inheritance
System.Object
StorageSpecification
FileSystemDirectorySpecification
Namespace: DNVGL.One.Compute.Core.FlowModel.DataTransfer
Assembly: DNVGL.One.Compute.Core.dll
Syntax
public class FileSystemDirectorySpecification : StorageSpecification

Properties

View Source

Directory

Gets or sets the directory.

Declaration
public string Directory { get; set; }
Property Value
Type Description
System.String

The directory.

Remarks

If null or empty, the current directory will be assumed.

Methods

View Source

GetNormalizedDirectory()

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
System.String

A platform compatible path.

Overrides
StorageSpecification.GetNormalizedDirectory()
View Source

ToString()

Returns a that represents this instance.

Declaration
public override string ToString()
Returns
Type Description
System.String

A that represents this instance.

See Also

StorageSpecification
  • View Source
In This Article
Back to top Copyright © DNV AS. All rights reserved.