C# 클래스 CmisSync.Lib.Consumer.SituationSolver.LocalObjectChanged

A local object has been changed and should be uploaded (if necessary) to server or updated on the server.
상속: AbstractEnhancedSolver
파일 보기 프로젝트 열기: OpenDataSpace/CmisSync 1 사용 예제들

공개 메소드들

메소드 설명
LocalObjectChanged ( ISession session, IMetaDataStorage storage, IFileTransmissionStorage transmissionStorage, ITransmissionManager transmissionManager ) : System

Initializes a new instance of the CmisSync.Lib.Consumer.SituationSolver.LocalObjectChanged class.

Solve ( IFileSystemInfo localFileSystemInfo, IObjectId remoteId, ContentChangeType localContent = ContentChangeType.NONE, ContentChangeType remoteContent = ContentChangeType.NONE ) : void

Solve the specified situation by using the storage, localFile and remoteId. Uploads the file content if content has been changed. Otherwise simply saves the last modification date.

메소드 상세

LocalObjectChanged() 공개 메소드

Initializes a new instance of the CmisSync.Lib.Consumer.SituationSolver.LocalObjectChanged class.
public LocalObjectChanged ( ISession session, IMetaDataStorage storage, IFileTransmissionStorage transmissionStorage, ITransmissionManager transmissionManager ) : System
session ISession Cmis session.
storage IMetaDataStorage Meta data storage.
transmissionStorage IFileTransmissionStorage
transmissionManager ITransmissionManager Transmission manager.
리턴 System

Solve() 공개 메소드

Solve the specified situation by using the storage, localFile and remoteId. Uploads the file content if content has been changed. Otherwise simply saves the last modification date.
public Solve ( IFileSystemInfo localFileSystemInfo, IObjectId remoteId, ContentChangeType localContent = ContentChangeType.NONE, ContentChangeType remoteContent = ContentChangeType.NONE ) : void
localFileSystemInfo IFileSystemInfo Local filesystem info instance.
remoteId IObjectId Remote identifier or object.
localContent ContentChangeType Hint if the local content has been changed.
remoteContent ContentChangeType Information if the remote content has been changed.
리턴 void