コード例 #1
0
 public SyncManager(string localFolder)
 {
     _originalFolder    = localFolder;
     _configuration     = SyncConfiguration.FindConfiguration(localFolder);
     _localFolder       = _configuration.LocalFolder;
     _sharePointManager = _configuration.GetSharePointManager();
     _metadataStore     = new MetadataStore(_localFolder);
 }
コード例 #2
0
ファイル: SharePointItem.cs プロジェクト: trungpv/SPSync
 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;
 }