Пример #1
0
 public TabVM(TabsVM owner, IFileTab tab)
 {
     this.owner = owner;
     this.tab = tab;
     var node = tab.Content.Nodes.FirstOrDefault().GetTopNode();
     this.file = node == null ? null : node.DnSpyFile;
 }
Пример #2
0
        public TabVM(TabsVM owner, IFileTab tab)
        {
            this.owner = owner;
            this.tab   = tab;
            var node = tab.Content.Nodes.FirstOrDefault().GetTopNode();

            this.file = node == null ? null : node.DnSpyFile;
        }