C# Class XRefresh.Model.FoldersRow

Inheritance: global::System.Data.DataRow
显示文件 Open project: binaryage/xrefresh Class Usage Examples

Public Properties

Property Type Description
activities Queue
positive bool
watcher FileSystemWatcher

Private Properties

Property Type Description
ClearActivities void
CreateActivity void
CreateActivity void
FoldersRow
GetExcludeFiltersRows ExcludeFiltersRow[]
GetIncludeFiltersRows IncludeFiltersRow[]
OnChanged void
OnCreated void
OnDeleted void
OnRenamed void
RunningOutOfSpace bool

Public Methods

Method Description
AddActivity ( Activity activity ) : void
ClearExcludes ( ) : void
ClearIncludes ( ) : void
GetPositiveActivitiesCount ( ) : int
HasWatcher ( FileSystemWatcher w ) : bool
Init ( ) : void
PassesFilters ( string path, MatchReason reason ) : bool
PassesLocalExcludes ( string path, MatchReason reason ) : bool
PassesLocalFilters ( string path, MatchReason reason ) : bool
PassesLocalIncludes ( string path, MatchReason reason ) : bool
PrepareRefreshMessage ( ) : XRefresh.Server.ServerMessageRefresh
Start ( ) : void
Stop ( ) : void
ToString ( ) : string

Protected Methods

Method Description
CreateWatcher ( ) : FileSystemWatcher

Private Methods

Method Description
ClearActivities ( ) : void
CreateActivity ( object source, ActivityType type, string path1 ) : void
CreateActivity ( object source, ActivityType type, string path1, string path2 ) : void
FoldersRow ( global rb )
GetExcludeFiltersRows ( ) : ExcludeFiltersRow[]
GetIncludeFiltersRows ( ) : IncludeFiltersRow[]
OnChanged ( object source, FileSystemEventArgs e ) : void
OnCreated ( object source, FileSystemEventArgs e ) : void
OnDeleted ( object source, FileSystemEventArgs e ) : void
OnRenamed ( object source, RenamedEventArgs e ) : void
RunningOutOfSpace ( ) : bool

Method Details

AddActivity() public method

public AddActivity ( Activity activity ) : void
activity Activity
return void

ClearExcludes() public method

public ClearExcludes ( ) : void
return void

ClearIncludes() public method

public ClearIncludes ( ) : void
return void

CreateWatcher() protected method

protected CreateWatcher ( ) : FileSystemWatcher
return FileSystemWatcher

GetPositiveActivitiesCount() public method

public GetPositiveActivitiesCount ( ) : int
return int

HasWatcher() public method

public HasWatcher ( FileSystemWatcher w ) : bool
w FileSystemWatcher
return bool

Init() public method

public Init ( ) : void
return void

PassesFilters() public method

public PassesFilters ( string path, MatchReason reason ) : bool
path string
reason MatchReason
return bool

PassesLocalExcludes() public method

public PassesLocalExcludes ( string path, MatchReason reason ) : bool
path string
reason MatchReason
return bool

PassesLocalFilters() public method

public PassesLocalFilters ( string path, MatchReason reason ) : bool
path string
reason MatchReason
return bool

PassesLocalIncludes() public method

public PassesLocalIncludes ( string path, MatchReason reason ) : bool
path string
reason MatchReason
return bool

PrepareRefreshMessage() public method

public PrepareRefreshMessage ( ) : XRefresh.Server.ServerMessageRefresh
return XRefresh.Server.ServerMessageRefresh

Start() public method

public Start ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void

ToString() public method

public ToString ( ) : string
return string

Property Details

activities public_oe property

public Queue activities
return Queue

positive public_oe property

public bool positive
return bool

watcher public_oe property

public FileSystemWatcher watcher
return FileSystemWatcher