Init() public method

public Init ( TagManager tagManager ) : void
tagManager TagManager
return void
        public void SetView(TagsGrooveTreeView treeView)
        {
            _treeView = treeView;

            _treeViewModel = new TagsGrooveTreeViewModel(_treeView);

            _treeViewModel.Init(ModelsComposite.TagManager);
            InitSelectingTag();

            _treeView.TagTreeView.SelectedItemChanged += TagTreeView_SelectedItemChanged;
            _treeViewModel.TagRemoved += _treeViewModel_TagRemoved;
        }
        public void SetView(TagsGrooveTreeView treeView)
        {
            _treeView = treeView;

            _treeViewModel = new TagsGrooveTreeViewModel(_treeView);

            _treeViewModel.Init(ModelsComposite.TagManager);
            InitSelectingTag();

            _treeView.TagTreeView.SelectedItemChanged += TagTreeView_SelectedItemChanged;
            _treeViewModel.TagRemoved += _treeViewModel_TagRemoved;
        }