Show / Hide Table of Contents

Class FileSystemDirectorySpecification

Specifies a file system directory.

Inheritance
object
StorageSpecification
FileSystemDirectorySpecification
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: DNVGL.One.Compute.Core.FlowModel.DataTransfer
Assembly: DNVGL.One.Compute.Core.dll
Syntax
[DataContract]
public class FileSystemDirectorySpecification : StorageSpecification

Properties

View Source

Directory

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
StorageSpecification

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
string

A platform compatible path.

Overrides
StorageSpecification.GetNormalizedDirectory()
See Also
StorageSpecification
View Source

ToString()

Returns a string that represents this instance.

Declaration
public override string ToString()
Returns
Type Description
string

A string that represents this instance.

Overrides
object.ToString()
See Also
StorageSpecification

See Also

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