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

Solver to handle the situation of a locally added file/folderobject.
상속: AbstractEnhancedSolver
파일 보기 프로젝트 열기: OpenDataSpace/CmisSync 1 사용 예제들

공개 메소드들

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

Initializes a new instance of the CmisSync.Lib.Consumer.SituationSolver.LocalObjectAdded 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.

비공개 메소드들

메소드 설명
AddCmisObject ( IFileSystemInfo localFile, string parentId, ISession session ) : ICmisObject
CreateEmptyStream ( string filename, Stream emptyStream ) : IContentStream

메소드 상세

LocalObjectAdded() 공개 메소드

Initializes a new instance of the CmisSync.Lib.Consumer.SituationSolver.LocalObjectAdded class.
public LocalObjectAdded ( ISession session, IMetaDataStorage storage, IFileTransmissionStorage transmissionStorage, ITransmissionManager manager ) : System
session ISession Cmis session.
storage IMetaDataStorage Meta data storage.
transmissionStorage IFileTransmissionStorage File transmission storage.
manager ITransmissionManager Activitiy manager for transmission propagations
리턴 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