DirectoryInfo Class

Assembly
Pri.LongPath.dll
Namespace
Pri.LongPath
Base Types
graph BT Type-->Base0["FileSystemInfo"] click Base0 "/api/Pri.LongPath/FileSystemInfo" Base0-->Base1["Object"] Type["DirectoryInfo"] class Type type-node

Syntax

public class DirectoryInfo : FileSystemInfo

Constructors

Name Summary
DirectoryInfo(string)

Fields

Name Constant Value Summary
data
Inherited from FileSystemInfo
errorCode
Inherited from FileSystemInfo
FullPath
Inherited from FileSystemInfo
OriginalPath
Inherited from FileSystemInfo
state
Inherited from FileSystemInfo

Properties

Name Value Summary
Attributes FileAttributes
Inherited from FileSystemInfo
CreationTime DateTime
Inherited from FileSystemInfo
CreationTimeUtc DateTime
Inherited from FileSystemInfo
Exists bool
Extension string
Inherited from FileSystemInfo
FullName string
Inherited from FileSystemInfo
LastAccessTime DateTime
Inherited from FileSystemInfo
LastAccessTimeUtc DateTime
Inherited from FileSystemInfo
LastWriteTime DateTime
Inherited from FileSystemInfo
LastWriteTimeUtc DateTime
Inherited from FileSystemInfo
Name string
Parent DirectoryInfo
Root DirectoryInfo
SystemInfo FileSystemInfo

Methods

Extension Methods

Name Value Summary
Dump<DirectoryInfo>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<DirectoryInfo>(DirectoryInfo[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<DirectoryInfo>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<DirectoryInfo>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
ThrowIfNull<DirectoryInfo>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<DirectoryInfo>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin