/// <summary> /// Creates a new instance of the <see cref="LicenseBuilder{T}"/> class using a <see cref="License{T}"/>. /// </summary> /// <param name="license">An instance of the <see cref="License{T}"/> class.</param> public LicenseBuilder(License <T> license) => License = license;
/// <summary> /// Creates a new instance of the <see cref="LicenseValidator{T}"/> class using a <see cref="License{T}"/> and an <see cref="XmlDocument"/>. /// </summary> /// <param name="license">An instance of the <see cref="License{T}"/> class.</param> /// <param name="document">The corresponding <see cref="XmlDocument"/>.</param> public LicenseValidator(License <T> license, XmlDocument document) { License = license; Document = document; Result = true; }