コード例 #1
0
        private void AddScrubber()
        {
            Scrubber          scrubber = new Scrubber();
            ScrubberViewModel vm       = new ScrubberViewModel(scrubber);

            Scrubbers.Add(vm);
            _lss.scrubbers.Add(scrubber);
        }
コード例 #2
0
 private void RemoveScrubber(ScrubberViewModel scrubber)
 {
     Scrubbers.Remove(scrubber);
     _lss.scrubbers.Remove(scrubber.Model);
 }