Methods (5)
Namespace: SchwabenCode.QuickIO.Internal
internal static classInternalQuickIOCommonDetermineFileSystemEntryDetermineFileSystemEntryExistsExistsNativeExceptionMapping

Syntax

internal static class InternalQuickIOCommon : object

Basetype

  • System.object

Summary

Provides several methods for internal purposes.

Uses

Used by

Methods

DetermineFileSystemEntry(Win32FindData findData)

Determines the type based on the attributes of the handle

internal static QuickIOFileSystemEntryType DetermineFileSystemEntry(Win32FindData findData)

Parameters

findData

Win32FindData

Win32FindData

Returns

QuickIOFileSystemEntryType

DetermineFileSystemEntry(QuickIOPathInfo pathInfo)

Determines the type based on the attributes of the path

internal static QuickIOFileSystemEntryType DetermineFileSystemEntry(QuickIOPathInfo pathInfo)

Parameters

pathInfo

QuickIOPathInfo

QuickIOPathInfo

Returns

QuickIOFileSystemEntryType

Exists(String path, QuickIOFileSystemEntryType systemEntryType)

Checks whether the path with the expected system entry type exists

public static Boolean Exists(String path, QuickIOFileSystemEntryType systemEntryType)

Parameters

path

String

Path to a file or a directory

systemEntryType

QuickIOFileSystemEntryType

QuickIOFileSystemEntryType you are searching for

Exceptions

UnmatchedFileSystemEntryTypeException

Path exists but it's not the type you're searching for.

Exists(QuickIOPathInfo path, QuickIOFileSystemEntryType systemEntryType)

Checks whether the path with the expected system entry type exists

public static Boolean Exists(QuickIOPathInfo path, QuickIOFileSystemEntryType systemEntryType)

Parameters

path

QuickIOPathInfo

Path to a file or a directory

systemEntryType

QuickIOFileSystemEntryType

QuickIOFileSystemEntryType you are searching for

Exceptions

UnmatchedFileSystemEntryTypeException

Path exists but it's not the type you're searching for.

public static void NativeExceptionMapping(String path, Int32 errorCode)

Parameters

path

String

errorCode

Int32

errorCode