C# Класс CmisSync.Lib.Storage.Database.Entities.IFileConvenienceExtenders

IFileInfo convenience extenders to check them against IMappedObjects
Показать файл Открыть проект

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

Метод Описание
IsContentChangedTo ( this file, IMappedObject obj, bool scanOnlyIfModificationDateDiffers = false ) : bool

Determines if file content is changed to the specified obj.

IsContentChangedTo ( this file, IMappedObject obj, byte &actualHash, bool scanOnlyIfModificationDateDiffers = false ) : bool

Determines if file content is changed to the specified obj.

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

IsContentChangedTo() публичный статический Метод

Determines if file content is changed to the specified obj.
public static IsContentChangedTo ( this file, IMappedObject obj, bool scanOnlyIfModificationDateDiffers = false ) : bool
file this File instance.
obj IMappedObject Object to check the file content against.
scanOnlyIfModificationDateDiffers bool If set to true content scan runs only if the modification date differs to given one.
Результат bool

IsContentChangedTo() публичный статический Метод

Determines if file content is changed to the specified obj.
public static IsContentChangedTo ( this file, IMappedObject obj, byte &actualHash, bool scanOnlyIfModificationDateDiffers = false ) : bool
file this File instance.
obj IMappedObject Object to check the file content against.
actualHash byte Contains the hash of the local file if scanned, or null if file wasn't scanned
scanOnlyIfModificationDateDiffers bool If set to true content scan runs only if the modification date differs to given one.
Результат bool