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

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

Méthodes publiques

Méthode 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 méthode

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.
Résultat System

Solve() public méthode

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.
Résultat void