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

Remote object has been renamed. => Rename the corresponding local object.
Наследование: AbstractEnhancedSolver
Показать файл Открыть проект Примеры использования класса

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

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

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

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

Renames the specified localFile to the name of the given remoteId object by using the storage, localFile and remoteId.

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

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

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

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

Renames the specified localFile to the name of the given remoteId object by using the storage, localFile and remoteId.
public Solve ( IFileSystemInfo localFile, IObjectId remoteId, ContentChangeType localContent = ContentChangeType.NONE, ContentChangeType remoteContent = ContentChangeType.NONE ) : void
localFile IFileSystemInfo Local file or folder. It is the source file/folder reference, which should be renamed.
remoteId IObjectId Remote identifier. Should be an instance of IFolder or IDocument.
localContent ContentChangeType Hint if the local content has been changed.
remoteContent ContentChangeType Information if the remote content has been changed.
Результат void