Пример #1
0
        } // ToString

        public License GetLicense(string licenseId)
        {
            if (!LicensesSpecified || string.IsNullOrEmpty(licenseId))
            {
                return(null);
            }
            return(Licenses.FirstOrDefault(license => string.Equals(license.Id, licenseId, StringComparison.InvariantCultureIgnoreCase)));
        } // GetLicense