Redigera

Dela via


RedactAttribute Class

Definition

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

[System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple=false)]
public class RedactAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple=false)>]
type RedactAttribute = class
    inherit Attribute
Public Class RedactAttribute
Inherits Attribute
Inheritance
RedactAttribute
Derived
Attributes

Constructors

RedactAttribute()

Methods

Redact(Object)

Redacts the provided value.

Applies to