Esempio n. 1
0
 public SyncActionItem(Guid pActionItemId, SyncActionEnum pAction, String pStringParameter)
 {
     this.ActionItemId           = pActionItemId;
     this.Action                 = pAction;
     this.StringParameter        = pStringParameter;
     this.RemoteElementParameter = null;
     this.ActionDate             = DateTime.Now;
 }
 public SyncEventItem(SyncEventEnum pAction, Guid pLocalEntityID, String pActualFilePathFull, bool IsDirectoryEvent, bool IsStartupEvent)
 {
     this._SyncEventId          = Guid.NewGuid();
     this._SyncEvent            = pAction;
     this.LocalElementId        = pLocalEntityID;
     this._ActualEntityPathFull = pActualFilePathFull;
     this._OldFilePathFull      = null;
     this._RemoteElement        = null;
     this._IsDirectoryEvent     = IsDirectoryEvent;
     this._IsStartupEvent       = IsStartupEvent;
 }
 public SyncEventItem(SyncEventEnum pAction, RepositoryElement pRemoteFile, bool IsDirectoryEvent, bool IsStartupEvent)
 {
     this._SyncEventId          = Guid.NewGuid();
     this._SyncEvent            = pAction;
     this.LocalElementId        = Guid.Empty;
     this._ActualEntityPathFull = null;
     this._OldFilePathFull      = null;;
     this._RemoteElement        = pRemoteFile;
     this._IsDirectoryEvent     = IsDirectoryEvent;
     this._IsStartupEvent       = IsStartupEvent;
 }
Esempio n. 4
0
 public MatchingElement(VirtualElement pLocalElement, RepositoryElement pRemoteElement)
 {
     _LocalElement  = pLocalElement;
     _RemoteElement = pRemoteElement;
 }