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

A Local object has been deleted. => Delete the corresponding object on the server, if possible
Наследование: AbstractEnhancedSolver
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
LocalObjectDeleted ( ISession session, IMetaDataStorage storage ) : System

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

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

Solves the situation by deleting the corresponding remote object.

Приватные методы

Метод Описание
TryDeleteObjectOnServer ( IObjectId remoteId, MappedObjectType type ) : bool

Описание методов

LocalObjectDeleted() публичный Метод

Initializes a new instance of the CmisSync.Lib.Consumer.SituationSolver.LocalObjectDeleted class.
public LocalObjectDeleted ( ISession session, IMetaDataStorage storage ) : System
session ISession Cmis session.
storage IMetaDataStorage Meta data storage.
Результат System

Solve() публичный Метод

Solves the situation by deleting the corresponding remote object.
public Solve ( IFileSystemInfo localFile, IObjectId remoteId, ContentChangeType localContent = ContentChangeType.NONE, ContentChangeType remoteContent = ContentChangeType.NONE ) : void
localFile IFileSystemInfo Local file.
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