C# Class XRefresh.Model

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

Private Properties

Property Type Description
Clone global::System.Data.DataSet
GetSchemaSerializable global::System.Xml.Schema.XmlSchema
GetTypedDataSetSchema global::System.Xml.Schema.XmlSchemaComplexType
InitClass void
InitVars void
InitVars void
InitializeDerivedDataSet void
Model
Model
ReadXmlSerializable void
RunningOutOfSpace bool
SchemaChanged void
ShouldSerializeExcludeFilters bool
ShouldSerializeFolders bool
ShouldSerializeGlobalExcludeFilters bool
ShouldSerializeGlobalIncludeFilters bool
ShouldSerializeIncludeFilters bool
ShouldSerializeRelations bool
ShouldSerializeSettings bool
ShouldSerializeTables bool

Public Methods

Method Description
AddFolder ( string name, string path, string type ) : FoldersRow
CreateDefaultSettings ( ) : void
FindFolder ( FileSystemWatcher watcher ) : FoldersRow
GetSettings ( ) : SettingsRow
Init ( ) : void
IterateFolders ( FolderIteratorDelegate it ) : void
Load ( string path ) : void

Loads model state from XML file

PassesGlobalExcludes ( string path ) : bool
PassesGlobalExcludes ( string path, MatchReason reason ) : bool
PassesGlobalFilters ( string path, MatchReason reason ) : bool
PassesGlobalIncludes ( string path, MatchReason reason ) : bool
PrepareRefreshMessages ( ) : List
Save ( string path ) : void

Saves model state into XML file

Start ( ) : void

Starts all folders to be reporting file system activity

Stop ( ) : void

Stops all folders from reporting file system activity

Private Methods

Method Description
Clone ( ) : global::System.Data.DataSet
GetSchemaSerializable ( ) : global::System.Xml.Schema.XmlSchema
GetTypedDataSetSchema ( global xs ) : global::System.Xml.Schema.XmlSchemaComplexType
InitClass ( ) : void
InitVars ( ) : void
InitVars ( bool initTable ) : void
InitializeDerivedDataSet ( ) : void
Model ( )
Model ( global info, global context )
ReadXmlSerializable ( global reader ) : void
RunningOutOfSpace ( ) : bool
SchemaChanged ( object sender, global e ) : void
ShouldSerializeExcludeFilters ( ) : bool
ShouldSerializeFolders ( ) : bool
ShouldSerializeGlobalExcludeFilters ( ) : bool
ShouldSerializeGlobalIncludeFilters ( ) : bool
ShouldSerializeIncludeFilters ( ) : bool
ShouldSerializeRelations ( ) : bool
ShouldSerializeSettings ( ) : bool
ShouldSerializeTables ( ) : bool

Method Details

AddFolder() public method

public AddFolder ( string name, string path, string type ) : FoldersRow
name string
path string
type string
return FoldersRow

CreateDefaultSettings() public method

public CreateDefaultSettings ( ) : void
return void

FindFolder() public method

public FindFolder ( FileSystemWatcher watcher ) : FoldersRow
watcher FileSystemWatcher
return FoldersRow

GetSettings() public method

public GetSettings ( ) : SettingsRow
return SettingsRow

Init() public method

public Init ( ) : void
return void

IterateFolders() public method

public IterateFolders ( FolderIteratorDelegate it ) : void
it FolderIteratorDelegate
return void

Load() public method

Loads model state from XML file
public Load ( string path ) : void
path string Path of XML file to read
return void

PassesGlobalExcludes() public method

public PassesGlobalExcludes ( string path ) : bool
path string
return bool

PassesGlobalExcludes() public method

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

PassesGlobalFilters() public method

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

PassesGlobalIncludes() public method

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

PrepareRefreshMessages() public method

public PrepareRefreshMessages ( ) : List
return List

Save() public method

Saves model state into XML file
public Save ( string path ) : void
path string Path of XML file to be overwritten
return void

Start() public method

Starts all folders to be reporting file system activity
public Start ( ) : void
return void

Stop() public method

Stops all folders from reporting file system activity
public Stop ( ) : void
return void