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

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

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