Пример #1
0
 public ExistingSyncGroup(
     SyncGroupList parentList,
     SyncRulesView view,
     int index,
     bool isExpandedEntry)
     : base(parentList)
 {
     this._details    = view.GetItem(index);
     this._view       = view;
     this._index      = index;
     this._isExpanded = isExpandedEntry;
     this.UpdateTitle();
     if (!this.IsComplex)
     {
         return;
     }
     this.UpdateComplexType();
     this._originalComplexRuleName  = this.Title;
     this._originalComplexRuleSetup = new AutoPlaylistBuilder(this.ID);
 }