/// <summary> /// Returns <c>true</c> if all members of given <see cref="type"/> should be considered secret settings, or <c>false</c> otherwise. /// </summary> public static bool IsSecret([NotNull] Type type) => IsInSecureScope || SecretAttributes.Any(attr => AttributeHelper.Has(type, attr));
/// <summary> /// Returns <c>true</c> if given <see cref="member"/> should be considered a secret setting, or <c>false</c> otherwise. /// </summary> public static bool IsSecret([NotNull] MemberInfo member) => IsInSecureScope || SecretAttributes.Any(attr => AttributeHelper.Has(member, attr));