public InstallerInfo(InstallerInfo x) : this() { if (x != null) { ProductCode = x.ProductCode; UpgradeCode = x.UpgradeCode; } }
public ActivationSet(string xml) { if (!String.IsNullOrEmpty(xml)) { ActivationSet item = ToClass(xml); Id = item.Id; DateUpdated = item.DateUpdated; MachineName = item.MachineName; TargetType = item.TargetType; Count = item.Count; DateRegistered = item.DateRegistered; Expiry = item.Expiry; User = new UserInfo(item.User); Sales = new PaymentInfo[item.Sales.Length]; Array.Copy(item.Sales, Sales, Sales.Length); Setup = new InstallerInfo(item.Setup); Status = item.Status; } }
public ActivationSet(string machineName, string typeName, Guid pc, Guid uc) : this(machineName, typeName) { Setup = new InstallerInfo(pc, uc); }
public ActivationSet() { User = new UserInfo(); Sales = new PaymentInfo[0]; Setup = new InstallerInfo(); }