/// <summary> /// Create CT object with ViewBags object /// </summary> /// <param name="viewBag"></param> public CT(ViewBags viewBag) : this(viewBag.Name, viewBag.Type, viewBag.Os, viewBag.Vmid.ToString(), viewBag.Node, viewBag.Cpus, viewBag.Ram, viewBag.Disk) { // Nothing here }
public VM(ViewBags vb) : this(vb.Name, vb.Type, vb.Os, vb.Vmid.ToString(), vb.Node, vb.Cpus, vb.Ram, vb.Disk) { // Nothing here }