public bool IsEncryptedProperty(PropertyInfo property)
{
Guard.AgainstNull(nameof(property), property);
try
{
//the message mutator will cache the whole message so we don't need to cache here
return IsEncryptedPropertyAction(property);
}
catch (Exception ex)
{
throw new Exception("Failed to evaluate Encrypted Property convention. See inner exception for details.", ex);
}
}