Revision 2341c603 trunk/Pithos.Core/PithosMonitor.cs

b/trunk/Pithos.Core/PithosMonitor.cs
80 80
        }
81 81

  
82 82

  
83

  
84

  
83 85
        private IPithosWorkflow _workflow;
84 86

  
85 87
        [Import]
......
116 118
        [Import]
117 119
        public NetworkAgent NetworkAgent { get; set; }
118 120
        [Import]
119
        public PollAgent PollAgent { get; set; }       
121
        public PollAgent PollAgent { get; set; }
122

  
123
        private Selectives _selectives;
124

  
125
        [Import]
126
        public Selectives Selectives
127
        {
128
            get { return _selectives; }
129
            set
130
            {
131
                _selectives = value;
132
                FileAgent.Selectives = value;
133
            }
134
        }
120 135

  
121 136
        public string UserName { get; set; }
122 137
        private string _apiKey;
......
431 446
            //Convert the uris to paths
432 447
            var selectivePaths = UrisToFilePaths(uris);
433 448
            
434
            FileAgent.SelectivePaths=selectivePaths;
435
            WorkflowAgent.SelectivePaths = selectivePaths;
436
            PollAgent.SetSyncUris(_accountInfo.AccountKey,uris);
437
            
449
            var selectiveUri = uris.ToList();
450
            this.Selectives.SetSelectedUris(_accountInfo,selectiveUri);
451

  
438 452
            var removedPaths = UrisToFilePaths(removed);
439 453
            UnversionSelectivePaths(removedPaths);
440 454

  

Also available in: Unified diff