Skip to content

RedactConnectionStringAttribute Methods

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

Redact(object)

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

Parameters

valueobject
The value.

Returns

The redacted value.