Skip to main content

Class FileSystemUtils

Namespace: Aurigma.DesignAtoms.Common
Assembly: Aurigma.DesignAtoms.dll
Syntax
public static class FileSystemUtils

Inheritance: System.Object -> FileSystemUtils

Inherited Members

  • System.Object.ToString
  • System.Object.Equals(System.Object)
  • System.Object.Equals(System.Object,System.Object)
  • System.Object.ReferenceEquals(System.Object,System.Object)
  • System.Object.GetHashCode
  • System.Object.GetType
  • System.Object.MemberwiseClone

Methods

GetTempFilePath

public static string GetTempFilePath(string tempDirectory, FileFormat format)
Parameters
TypeNameDescription
System.StringtempDirectory
Aurigma.DesignAtoms.Model.Configuration.FileFormatformat
Returns

System.String

GetTempFilePath

public static string GetTempFilePath(string tempDirectory, string extension = "tmp")
Parameters
TypeNameDescription
System.StringtempDirectory
System.Stringextension
Returns

System.String

TryDeleteFile

public static bool TryDeleteFile(string filePath)
Parameters
TypeNameDescription
System.StringfilePath
Returns

System.Boolean

DeleteDirectory

public static void DeleteDirectory(string folderPath)
Parameters
TypeNameDescription
System.StringfolderPath

GetExecutingAssemblyDir

public static string GetExecutingAssemblyDir()
Returns

System.String

Fields

_logger

public static readonly ILogger _logger
Was this page helpful?