C# Class CmisSync.Lib.Consumer.SituationSolver.LocalObjectRenamedRemoteObjectRenamed

Local object renamed and also the remote object has been renamed.
Inheritance: AbstractEnhancedSolver
Exibir arquivo Open project: OpenDataSpace/CmisSync Class Usage Examples

Public Methods

Method Description
LocalObjectRenamedRemoteObjectRenamed ( ISession session, IMetaDataStorage storage, ISolver changeChangeSolver ) : System

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

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

Solve the specified situation by taking renaming the local or remote object to the name of the last changed object.

Method Details

LocalObjectRenamedRemoteObjectRenamed() public method

Initializes a new instance of the CmisSync.Lib.Consumer.SituationSolver.LocalObjectRenamedRemoteObjectRenamed class.
public LocalObjectRenamedRemoteObjectRenamed ( ISession session, IMetaDataStorage storage, ISolver changeChangeSolver ) : System
session ISession Cmis session.
storage IMetaDataStorage Meta data storage.
changeChangeSolver ISolver Fallback solver for local and remote change situation after renaming is done.
return System

Solve() public method

Solve the specified situation by taking renaming the local or remote object to the name of the last changed object.
public Solve ( IFileSystemInfo localFileSystemInfo, IObjectId remoteId, ContentChangeType localContent = ContentChangeType.NONE, ContentChangeType remoteContent = ContentChangeType.NONE ) : void
localFileSystemInfo IFileSystemInfo Local file system info.
remoteId IObjectId Remote object.
localContent ContentChangeType Hint if the local content has been changed.
remoteContent ContentChangeType Information if the remote content has been changed.
return void