C# Класс CmisSync.Lib.Consumer.SituationSolver.LocalObjectAdded

Solver to handle the situation of a locally added file/folderobject.
Наследование: AbstractEnhancedSolver
Показать файл Открыть проект Примеры использования класса

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

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