Пример #1
0
 public NetworkElementViewModel(NetworkElement networkElement, NetworkElementViewModel parent)
 {
     m_networkTree    = parent.NetworkTree;
     m_parent         = parent;
     m_networkElement = networkElement;
 }
Пример #2
0
 public NetworkElementViewModel(NetworkTreeViewModel networkTree, NetworkElement networkElement)
 {
     m_networkTree    = networkTree;
     m_networkElement = networkElement;
     m_parent         = null;
 }