C# Class GuiLabs.FileUtilities.Folder

Show file Open project: KirillOsenkov/ContentSync Class Usage Examples

Public Methods

Method Description
AreIdentical ( Folder left, Folder right ) : bool

Folders can be considered identical if the names are different. Equality is content based.

CreateOnDisk ( string parentFolder ) : void
Folder ( string name, IEnumerable folders, IEnumerable files ) : System.Collections.Generic
FromDisk ( string folderPath ) : Folder

Method Details

AreIdentical() public static method

Folders can be considered identical if the names are different. Equality is content based.
public static AreIdentical ( Folder left, Folder right ) : bool
left Folder
right Folder
return bool

CreateOnDisk() public method

public CreateOnDisk ( string parentFolder ) : void
parentFolder string
return void

Folder() public method

public Folder ( string name, IEnumerable folders, IEnumerable files ) : System.Collections.Generic
name string
folders IEnumerable
files IEnumerable
return System.Collections.Generic

FromDisk() public static method

public static FromDisk ( string folderPath ) : Folder
folderPath string
return Folder