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