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

Local object added and the server is able to update PWC. If a folder is added => calls the given local folder added solver implementation
상속: AbstractEnhancedSolverWithPWC
파일 보기 프로젝트 열기: OpenDataSpace/CmisSync 1 사용 예제들

공개 메소드들

메소드 설명
LocalObjectAddedWithPWC ( ISession session, IMetaDataStorage storage, IFileTransmissionStorage transmissionStorage, ITransmissionManager manager, ISolver localFolderOrEmptyFileAddedSolver ) : System

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

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

Solve the specified situation by using localFile and remote object.

비공개 메소드들

메소드 설명
CreateCheckedOutDocument ( IFileInfo localFile, IObjectId parentId ) : IDocument
CreateOrLoadExistingRemoteDocument ( IFileInfo localFile, IObjectId parentId ) : IDocument

메소드 상세

LocalObjectAddedWithPWC() 공개 메소드

Initializes a new instance of the CmisSync.Lib.Consumer.SituationSolver.PWC.LocalObjectAddedWithPWC class.
public LocalObjectAddedWithPWC ( ISession session, IMetaDataStorage storage, IFileTransmissionStorage transmissionStorage, ITransmissionManager manager, ISolver localFolderOrEmptyFileAddedSolver ) : System
session ISession Cmis session.
storage IMetaDataStorage Meta data storage.
transmissionStorage IFileTransmissionStorage Transmission storage.
manager ITransmissionManager Active activities manager.
localFolderOrEmptyFileAddedSolver ISolver Local folder or empty file added solver.
리턴 System

Solve() 공개 메소드

Solve the specified situation by using localFile and remote object.
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