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

Remote object has been moved. => Move the corresponding local object.
Inheritance: AbstractEnhancedSolver
Afficher le fichier Open project: OpenDataSpace/CmisSync Class Usage Examples

Méthodes publiques

Méthode Description
RemoteObjectMoved ( ISession session, IMetaDataStorage storage ) : System

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

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

Solve the specified situation by using the session, storage, localFile and remoteId. Moves the local file/folder to the new location.

Method Details

RemoteObjectMoved() public méthode

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

Solve() public méthode

Solve the specified situation by using the session, storage, localFile and remoteId. Moves the local file/folder to the new location.
public Solve ( IFileSystemInfo localFile, IObjectId remoteId, ContentChangeType localContent = ContentChangeType.NONE, ContentChangeType remoteContent = ContentChangeType.NONE ) : void
localFile IFileSystemInfo Old local file/folder.
remoteId IObjectId Remote identifier.
localContent ContentChangeType Hint if the local content has been changed.
remoteContent ContentChangeType Information if the remote content has been changed.
Résultat void