Пример #1
0
 public SyncManager(string localFolder)
 {
     _originalFolder    = localFolder;
     _configuration     = SyncConfiguration.FindConfiguration(localFolder);
     _localFolder       = _configuration.LocalFolder;
     _sharePointManager = _configuration.GetSharePointManager();
     _metadataStore     = new MetadataStore(_localFolder);
 }
Пример #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;
 }