public SyncManager(string localFolder)
 {
     _originalFolder    = localFolder;
     _configuration     = SyncConfiguration.FindConfiguration(localFolder);
     _localFolder       = _configuration.LocalFolder;
     _sharePointManager = _configuration.GetSharePointManager();
     _metadataStore     = new MetadataStore(_localFolder);
 }
Exemple #2
0
 public SharePointItem(int id, ItemType type, ChangeType changeType, string name, string etag, DateTime lastModified, string fullFileName)
 {
     Id = id;
     ChangeType = changeType;
     Name = name;
     if (!string.IsNullOrEmpty(etag))
         ETag = SharePointManager.ParseETag(etag);
     LastModified = lastModified;
     FullFileName = fullFileName;
     Type = type;
 }