Class FileSystemFolder
Wrapper for the DirectoryInfo
Inheritance
System.Object
FileSystemFolder
Implements
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: ImageVault.Common.Lib.IO
Assembly: ImageVault.Common.dll
Syntax
public class FileSystemFolder : IFolder
Constructors
FileSystemFolder(DirectoryInfo)
Declaration
public FileSystemFolder(DirectoryInfo dir)
Parameters
Type | Name | Description |
---|---|---|
System.IO.DirectoryInfo | dir |
FileSystemFolder(String)
Declaration
public FileSystemFolder(string path)
Parameters
Type | Name | Description |
---|---|---|
System.String | path |
Properties
Exists
Declaration
public bool Exists { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
GetFiles(String)
Declaration
public IList<IFolderItem> GetFiles(string pattern)
Parameters
Type | Name | Description |
---|---|---|
System.String | pattern |
Returns
Type | Description |
---|---|
System.Collections.Generic.IList<IFolderItem> |
GetSubFolder(String)
Gets a subfolder
Declaration
public IFolder GetSubFolder(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name |
Returns
Type | Description |
---|---|
IFolder |