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

Solver to handle the situation of a locally added file/folderobject.
Inheritance: AbstractEnhancedSolver
Afficher le fichier Open project: OpenDataSpace/CmisSync Class Usage Examples

Méthodes publiques

Méthode Description
LocalObjectAdded ( ISession session, IMetaDataStorage storage, IFileTransmissionStorage transmissionStorage, ITransmissionManager manager ) : System

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

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

Solve the specified situation by using localFile and remote object.

Private Methods

Méthode Description
AddCmisObject ( IFileSystemInfo localFile, string parentId, ISession session ) : ICmisObject
CreateEmptyStream ( string filename, Stream emptyStream ) : IContentStream

Method Details

LocalObjectAdded() public méthode

Initializes a new instance of the CmisSync.Lib.Consumer.SituationSolver.LocalObjectAdded class.
public LocalObjectAdded ( ISession session, IMetaDataStorage storage, IFileTransmissionStorage transmissionStorage, ITransmissionManager manager ) : System
session ISession Cmis session.
storage IMetaDataStorage Meta data storage.
transmissionStorage IFileTransmissionStorage File transmission storage.
manager ITransmissionManager Activitiy manager for transmission propagations
Résultat System

Solve() public méthode

Solve the specified situation by using localFile and remote object.
public Solve ( IFileSystemInfo localFileSystemInfo, IObjectId remoteId, ContentChangeType localContent = ContentChangeType.NONE, ContentChangeType remoteContent = ContentChangeType.NONE ) : void
localFileSystemInfo IFileSystemInfo Local filesystem info instance.
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.
Résultat void