C# Класс VersionOne.ServiceHost.Core.RecyclingFileMonitor

More thoroughly determines if a file has been processed. Compares file modified stamps for paths that have been logged.
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание

Открытые методы

Метод Описание
ProcessFolder ( object pubobj ) : void
RecyclingFileMonitor ( IProfile profile, string watchFolder, string filterPattern, ProcessFileBatchDelegate processor ) : System.IO

Защищенные методы

Метод Описание
GetState ( string file ) : bool?

Get the processed state of the given file from the profile.

InvokeProcessor ( string files ) : void
SaveState ( string file, bool done ) : void

Save the processing state for the given file to the profile.

Описание методов

GetState() защищенный Метод

Get the processed state of the given file from the profile.
protected GetState ( string file ) : bool?
file string File to look up.
Результат bool?

InvokeProcessor() защищенный Метод

protected InvokeProcessor ( string files ) : void
files string
Результат void

ProcessFolder() публичный Метод

public ProcessFolder ( object pubobj ) : void
pubobj object
Результат void

RecyclingFileMonitor() публичный Метод

public RecyclingFileMonitor ( IProfile profile, string watchFolder, string filterPattern, ProcessFileBatchDelegate processor ) : System.IO
profile IProfile
watchFolder string
filterPattern string
processor ProcessFileBatchDelegate
Результат System.IO

SaveState() защищенный Метод

Save the processing state for the given file to the profile.
protected SaveState ( string file, bool done ) : void
file string File in question.
done bool True if processed.
Результат void