FileInfo 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["FileInfo"] class Type type-node

Syntax

public class FileInfo : FileSystemInfo

Constructors

Name Summary
FileInfo(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
Directory DirectoryInfo
DirectoryName string
Exists bool
Extension string
Inherited from FileSystemInfo
FullName string
Inherited from FileSystemInfo
IsReadOnly bool
LastAccessTime DateTime
Inherited from FileSystemInfo
LastAccessTimeUtc DateTime
Inherited from FileSystemInfo
LastWriteTime DateTime
Inherited from FileSystemInfo
LastWriteTimeUtc DateTime
Inherited from FileSystemInfo
Length long
Name string
SysFileInfo FileInfo
SystemInfo FileSystemInfo

Methods

Extension Methods

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