}
+
+
private IPithosWorkflow _workflow;
[Import]
[Import]
public NetworkAgent NetworkAgent { get; set; }
[Import]
- public PollAgent PollAgent { get; set; }
+ public PollAgent PollAgent { get; set; }
+
+ private Selectives _selectives;
+
+ [Import]
+ public Selectives Selectives
+ {
+ get { return _selectives; }
+ set
+ {
+ _selectives = value;
+ FileAgent.Selectives = value;
+ }
+ }
public string UserName { get; set; }
private string _apiKey;
//Convert the uris to paths
var selectivePaths = UrisToFilePaths(uris);
- FileAgent.SelectivePaths=selectivePaths;
- WorkflowAgent.SelectivePaths = selectivePaths;
- PollAgent.SetSyncUris(_accountInfo.AccountKey,uris);
-
+ var selectiveUri = uris.ToList();
+ this.Selectives.SetSelectedUris(_accountInfo,selectiveUri);
+
var removedPaths = UrisToFilePaths(removed);
UnversionSelectivePaths(removedPaths);