/// <summary> /// Initializes a new instance of the <see cref="ServerLicense" /> class. /// </summary> /// <param name="purpose">purpose.</param> /// <param name="type">type.</param> /// <param name="idLicense">idLicense.</param> /// <param name="machineKey">machineKey.</param> /// <param name="activationCode">activationCode.</param> /// <param name="note">note.</param> /// <param name="issuer">issuer.</param> /// <param name="issuedTo">issuedTo.</param> /// <param name="utcIssuedDate">utcIssuedDate.</param> /// <param name="formatVersion">formatVersion.</param> /// <param name="formatVersionString">formatVersionString.</param> /// <param name="softwareVersion">softwareVersion.</param> /// <param name="softwareVersionString">softwareVersionString.</param> /// <param name="moduleList">moduleList.</param> /// <param name="permissionList">permissionList.</param> /// <param name="moduleInstallationList">moduleInstallationList.</param> /// <param name="signature">signature.</param> public ServerLicense(PurposeEnum?purpose = default(PurposeEnum?), TypeEnum?type = default(TypeEnum?), string idLicense = default(string), string machineKey = default(string), string activationCode = default(string), string note = default(string), string issuer = default(string), LicenseCustomer issuedTo = default(LicenseCustomer), DateTime?utcIssuedDate = default(DateTime?), Version formatVersion = default(Version), string formatVersionString = default(string), Version softwareVersion = default(Version), string softwareVersionString = default(string), List <LicenseModule> moduleList = default(List <LicenseModule>), List <LicensePermission> permissionList = default(List <LicensePermission>), List <LicenseModuleInstallation> moduleInstallationList = default(List <LicenseModuleInstallation>), byte[] signature = default(byte[])) { this.Purpose = purpose; this.Type = type; this.IdLicense = idLicense; this.MachineKey = machineKey; this.ActivationCode = activationCode; this.Note = note; this.Issuer = issuer; this.IssuedTo = issuedTo; this.UtcIssuedDate = utcIssuedDate; this.FormatVersion = formatVersion; this.FormatVersionString = formatVersionString; this.SoftwareVersion = softwareVersion; this.SoftwareVersionString = softwareVersionString; this.ModuleList = moduleList; this.PermissionList = permissionList; this.ModuleInstallationList = moduleInstallationList; this.Signature = signature; }
/// <summary> /// Initializes a new instance of the <see cref="ServerLicense" /> class. /// </summary> /// <param name="Purpose">Purpose.</param> /// <param name="Type">Type.</param> /// <param name="IdLicense">IdLicense.</param> /// <param name="MachineKey">MachineKey.</param> /// <param name="ActivationCode">ActivationCode.</param> /// <param name="Note">Note.</param> /// <param name="Issuer">Issuer.</param> /// <param name="IssuedTo">IssuedTo.</param> /// <param name="UtcIssuedDate">UtcIssuedDate.</param> /// <param name="FormatVersion">FormatVersion.</param> /// <param name="FormatVersionString">FormatVersionString.</param> /// <param name="SoftwareVersion">SoftwareVersion.</param> /// <param name="SoftwareVersionString">SoftwareVersionString.</param> /// <param name="ModuleList">ModuleList.</param> /// <param name="PermissionList">PermissionList.</param> /// <param name="ModuleInstallationList">ModuleInstallationList.</param> /// <param name="Signature">Signature.</param> public ServerLicense(PurposeEnum?Purpose = default(PurposeEnum?), TypeEnum?Type = default(TypeEnum?), string IdLicense = default(string), string MachineKey = default(string), string ActivationCode = default(string), string Note = default(string), string Issuer = default(string), LicenseCustomer IssuedTo = default(LicenseCustomer), DateTime?UtcIssuedDate = default(DateTime?), Version FormatVersion = default(Version), string FormatVersionString = default(string), Version SoftwareVersion = default(Version), string SoftwareVersionString = default(string), List <LicenseModule> ModuleList = default(List <LicenseModule>), List <LicensePermission> PermissionList = default(List <LicensePermission>), List <LicenseModuleInstallation> ModuleInstallationList = default(List <LicenseModuleInstallation>), byte[] Signature = default(byte[])) { this.Purpose = Purpose; this.Type = Type; this.IdLicense = IdLicense; this.MachineKey = MachineKey; this.ActivationCode = ActivationCode; this.Note = Note; this.Issuer = Issuer; this.IssuedTo = IssuedTo; this.UtcIssuedDate = UtcIssuedDate; this.FormatVersion = FormatVersion; this.FormatVersionString = FormatVersionString; this.SoftwareVersion = SoftwareVersion; this.SoftwareVersionString = SoftwareVersionString; this.ModuleList = ModuleList; this.PermissionList = PermissionList; this.ModuleInstallationList = ModuleInstallationList; this.Signature = Signature; }