Back to Website
Show / Hide Table of Contents

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()
Namespace: Aurigma.DesignAtoms.Common
Assembly: Aurigma.DesignAtoms.dll
Syntax
public static class FileSystemUtils

Fields

_logger

Declaration
public static readonly ILogger _logger
Field Value
Type Description
NLog.ILogger

Methods

DeleteDirectory(String)

Declaration
public static void DeleteDirectory(string folderPath)
Parameters
Type Name Description
System.String folderPath

GetExecutingAssemblyDir()

Declaration
public static string GetExecutingAssemblyDir()
Returns
Type Description
System.String

GetTempFilePath(String, FileFormat)

Declaration
public static string GetTempFilePath(string tempDirectory, FileFormat format)
Parameters
Type Name Description
System.String tempDirectory
FileFormat format
Returns
Type Description
System.String

GetTempFilePath(String, String)

Declaration
public static string GetTempFilePath(string tempDirectory, string extension = "tmp")
Parameters
Type Name Description
System.String tempDirectory
System.String extension
Returns
Type Description
System.String

TryDeleteFile(String)

Declaration
public static bool TryDeleteFile(string filePath)
Parameters
Type Name Description
System.String filePath
Returns
Type Description
System.Boolean
Was this page helpful?
Thanks for your feedback!
Back to top Copyright © 2001–2025 Aurigma, Inc. All rights reserved.
Loading...
    Thank for your vote
    Your opinion is important to us. To provide details, send feedback.
    Send feedback