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

Local object has been renamed. => Rename the corresponding object on the server.
Inheritance: AbstractEnhancedSolver
Mostra file Open project: OpenDataSpace/CmisSync Class Usage Examples

Public Methods

Method Description
LocalObjectRenamed ( ISession session, IMetaDataStorage storage ) : System

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

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

Solve the specified situation by using localFile and remote object.

Method Details

LocalObjectRenamed() public method

Initializes a new instance of the CmisSync.Lib.Consumer.SituationSolver.LocalObjectRenamed class.
public LocalObjectRenamed ( ISession session, IMetaDataStorage storage ) : System
session ISession Cmis session.
storage IMetaDataStorage Meta data storage.
return System

Solve() public method

Solve the specified situation by using localFile and 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.
return void