C# 클래스 DotNetIO.DirectoryExtensions

파일 보기 프로젝트 열기: DotNetIO/DotNetIO

공개 메소드들

메소드 설명
AncestorsAndSelf ( this directory ) : IEnumerable
Directories ( this fileSystem, string filter ) : IEnumerable
FileChanges ( this directory, string filter = "*", bool includeSubdirectories = false, Action created = null, Action modified = null, Action deleted = null, Action renamed = null ) : IDisposable

Files ( this fileSystem, string filter ) : IEnumerable
FindDirectory ( this directory, string path ) : Directory
FindFile ( this directory, string filename ) : File
GetOrCreateDirectory ( this directory ) : Directory

비공개 메소드들

메소드 설명
GetDirectorySpecCore ( Directory directory, IList segments, int position ) : IEnumerable
GetFileSpecCore ( Directory directory, IList segments, int position ) : IEnumerable
GetFilterPaths ( string filter ) : IEnumerable

메소드 상세

AncestorsAndSelf() 공개 정적인 메소드

public static AncestorsAndSelf ( this directory ) : IEnumerable
directory this
리턴 IEnumerable

Directories() 공개 정적인 메소드

public static Directories ( this fileSystem, string filter ) : IEnumerable
fileSystem this
filter string
리턴 IEnumerable

FileChanges() 공개 정적인 메소드

public static FileChanges ( this directory, string filter = "*", bool includeSubdirectories = false, Action created = null, Action modified = null, Action deleted = null, Action renamed = null ) : IDisposable
directory this The directory to watch for changes
filter string
includeSubdirectories bool
created Action
modified Action
deleted Action
renamed Action
리턴 IDisposable

Files() 공개 정적인 메소드

public static Files ( this fileSystem, string filter ) : IEnumerable
fileSystem this
filter string
리턴 IEnumerable

FindDirectory() 공개 정적인 메소드

public static FindDirectory ( this directory, string path ) : Directory
directory this
path string
리턴 Directory

FindFile() 공개 정적인 메소드

public static FindFile ( this directory, string filename ) : File
directory this
filename string
리턴 File

GetOrCreateDirectory() 공개 정적인 메소드

public static GetOrCreateDirectory ( this directory ) : Directory
directory this
리턴 Directory