Skip to content

DoNotLocalizeAttribute

Namespace: Bogoware.Localization.Serialization

Prevents a property from being localized during JSON serialization, overriding the behavior of LocalizationSerializationMode.Auto and LocalizationSerializationMode.Exhaustive modes.

public sealed class DoNotLocalizeAttribute : System.Attribute

Inheritance ObjectAttributeDoNotLocalizeAttribute
Attributes AttributeUsageAttribute

Remarks:

The property will be serialized using its default JSON representation (object structure) regardless of the serialization mode in effect.

Properties

TypeId

public object TypeId { get; }

Property Value

Object

Constructors

DoNotLocalizeAttribute()

public DoNotLocalizeAttribute()