Esempio n. 1
0
 public InstallerInfo(InstallerInfo x)
     : this()
 {
     if (x != null)
     {
         ProductCode = x.ProductCode;
         UpgradeCode = x.UpgradeCode;
     }
 }
Esempio n. 2
0
 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;
     }
 }
Esempio n. 3
0
 public ActivationSet(string machineName, string typeName, Guid pc, Guid uc)
     : this(machineName, typeName)
 {
     Setup = new InstallerInfo(pc, uc);
 }
Esempio n. 4
0
 public ActivationSet()
 {
     User  = new UserInfo();
     Sales = new PaymentInfo[0];
     Setup = new InstallerInfo();
 }