Esempio n. 1
0
 public ClassViewModel(NamespaceViewModel _Parent, ManagementClassData mgmtClass)
 {
     this._Parent = _Parent;
     this.ManagementClass = mgmtClass;
 }
Esempio n. 2
0
 internal static ManagementClassData Create(ManagementClass mgmt)
 {
     var data = new ManagementClassData();
     data.Path = mgmt.Path.Path;
     data.Name = mgmt.ClassPath.ClassName;
     return data;
 }