Skip to content

RedactAttribute Methods

When applied to a property on an options class, this attribute prevents the property value from being formatted by conforming IOptionFormatter instances.

Redact(object)

virtual
View source
public virtual string Redact(object value)
Redacts the provided value.

Parameters

valueobject
The value.

Returns

The redacted value.