PackageExplorerViewModel.EditablePackageMetadata.IsValid C# (CSharp) Метод

IsValid() приватный Метод

private IsValid ( string propertyName ) : string
propertyName string
Результат string
        private string IsValid(string propertyName)
        {
            if (propertyName == "LicenseUrl")
            {
                if (RequireLicenseAcceptance && LicenseUrl == null)
                {
                    return "Enabling license acceptance requires a license url.";
                }
            }

            string error;
            _propertyErrors.TryGetValue(propertyName, out error);
            return error;
        }