FileSystemInfo Class

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

Syntax

public abstract class FileSystemInfo

Constructors

Name Summary
FileSystemInfo()

Fields

Name Constant Value Summary
data
errorCode
FullPath
OriginalPath
state

Properties

Name Value Summary
Attributes FileAttributes
CreationTime DateTime
CreationTimeUtc DateTime
Exists bool
Extension string
FullName string
LastAccessTime DateTime
LastAccessTimeUtc DateTime
LastWriteTime DateTime
LastWriteTimeUtc DateTime
Name string
SystemInfo FileSystemInfo

Methods

Extension Methods

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