C# 클래스 CmisSync.Lib.Storage.Database.Entities.IFileConvenienceExtenders

IFileInfo convenience extenders to check them against IMappedObjects
파일 보기 프로젝트 열기: OpenDataSpace/CmisSync

공개 메소드들

메소드 설명
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