/// <inheritdoc />
 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
 {
     if (!(value is string stringValue))
     {
         throw new ArgumentNullException(nameof(value));
     }
     return(EncryptedString.FromEncryptedString(stringValue));
 }