UtilDirectory Class

Contains directory related utilities.

Definition

Namespace: DevCase.Core.IO.FileSystem
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public sealed class UtilDirectory
Inheritance
Object    UtilDirectory

Methods

AddAttributes Adds directory-attribute(s) to the specified directory.
CreateIsoFromDirectory Creates an ISO file from the specified directory.
CreateSymbolicLink(DirectoryInfo, DirectoryInfo) Creates a symbolic link of the specified directory.
CreateSymbolicLink(DirectoryInfo, String) Creates a symbolic link of the specified directory.
CreateSymbolicLink(String, DirectoryInfo) Creates a symbolic link of the specified directory.
CreateSymbolicLink(String, String) Creates a symbolic link of the specified directory.
DirectoryExists Determines whether the specified path points to a existing directory.
Equals Determines whether the specified object is equal to the current object.
(Inherited from Object)
GetDirPaths(DirectoryInfo, SearchOption, IEnumerableString, IEnumerableString, Boolean, Boolean) Gets the filepaths those matches the criteria inside the specified directory and/or sub-DirectoryUtil.
GetDirPaths(String, SearchOption, IEnumerableString, IEnumerableString, Boolean, Boolean) Gets the filepaths those matches the criteria inside the specified directory and/or sub-DirectoryUtil.
GetDirs(DirectoryInfo, SearchOption, IEnumerableString, IEnumerableString, Boolean, Boolean) Gets the directories those matches the criteria inside the specified directory and/or sub-DirectoryUtil.
GetDirs(String, SearchOption, IEnumerableString, IEnumerableString, Boolean, Boolean) Gets the directories those matches the criteria inside the specified directory and/or sub-DirectoryUtil.
GetHashCode Serves as the default hash function.
(Inherited from Object)
GetSize Gets the size of a directory, in bytes.
GetSymbolicLinkTarget(DirectoryInfo) Gets the target of the specified symbolic link.
GetSymbolicLinkTarget(String) Gets the target of the specified symbolic link.
GetType Gets the Type of the current instance.
(Inherited from Object)
HasAttributes Gets a value indicating whether a directory contains the specified directory-attribute(s).
IsMountPoint(DirectoryInfo) Determines whether whether the specified directory is a mount point.
IsMountPoint(String) Determines whether whether the specified directory is a mount point.
IsSymbolicLink(DirectoryInfo) Determines whether whether the specified directory is a symbolic link.
IsSymbolicLink(String) Determines whether whether the specified directory is a symbolic link.
PreloadInIconCache Preloads the icon of a directory into Windows Icon Cache system files (IconCache_xxx.db).

The folder must contain a "desktop.ini" file with the icon specified.

RemoveAttributes Removes directory-attribute(s) from the specified directory.
Rename Renames a directory.
SetAttributes Sets the file-attribute(s) of the specified directory.
ToString Returns a string that represents the current object.
(Inherited from Object)

Extension Methods

CanConvertTo Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions)
CanConvertToT Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions)
ConvertToT Converts an object to the specified target type.

If the conversion fails, an exception is thrown.
(Defined by ObjectExtensions)

ConvertToT Converts an object to the specified target type.

If the conversion fails, returns the specified default value.
(Defined by ObjectExtensions)

IsDisposable Determines whether the specified object is a disposable type (i.e., it implements IDisposable interface).
(Defined by ObjectExtensions)
Speak Speaks the string representation of the source object by using the operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions)
Speak Speaks the string representation of the source object by using the operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions)
ThrowIfNullTException Throws the specified exception if the source object is null.
(Defined by ObjectExtensions)

See Also