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
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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