C# 클래스 CmisSync.Lib.Consumer.SituationSolver.PWC.LocalObjectChangedRemoteObjectChangedWithPWC

Local object changed remote object changed situations are decorated if only the local content has been changed. Otherwise the given fallback will solve the situation.
상속: AbstractEnhancedSolverWithPWC
파일 보기 프로젝트 열기: OpenDataSpace/CmisSync 1 사용 예제들

공개 메소드들

메소드 설명
LocalObjectChangedRemoteObjectChangedWithPWC ( ISession session, IMetaDataStorage storage, IFileTransmissionStorage transmissionStorage, TransmissionManager manager, ISolver localObjectChangedRemoteObjectChangedFallbackSolver ) : System

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

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

Solve the specified situation by using localFile and remote object if the local file content is the only changed content. Otherwise the given fallback will be used.

메소드 상세

LocalObjectChangedRemoteObjectChangedWithPWC() 공개 메소드

Initializes a new instance of the CmisSync.Lib.Consumer.SituationSolver.PWC.LocalObjectChangedRemoteObjectChangedWithPWC class.
public LocalObjectChangedRemoteObjectChangedWithPWC ( ISession session, IMetaDataStorage storage, IFileTransmissionStorage transmissionStorage, TransmissionManager manager, ISolver localObjectChangedRemoteObjectChangedFallbackSolver ) : System
session ISession Cmis session.
storage IMetaDataStorage Meta data storage.
transmissionStorage IFileTransmissionStorage Transmission storage.
manager CmisSync.Lib.Queueing.TransmissionManager Transmission manager.
localObjectChangedRemoteObjectChangedFallbackSolver ISolver Local object changed remote object changed fallback solver.
리턴 System

Solve() 공개 메소드

Solve the specified situation by using localFile and remote object if the local file content is the only changed content. Otherwise the given fallback will be used.
public Solve ( IFileSystemInfo localFileSystemInfo, IObjectId remoteId, ContentChangeType localContent, ContentChangeType remoteContent ) : 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