Table of Contents

Class ValueSerializerAttribute

Namespace
Alternet.UI
Assembly
Alternet.UI.Interfaces.dll

Attribute to associate a ValueSerializer class with a value type or to override which value serializer to use for a property. A value serializer can be associated with an attached property by placing the attribute on the static accessor for the attached property.

[AttributeUsage(AttributeTargets.Class|AttributeTargets.Struct|AttributeTargets.Enum|AttributeTargets.Method|AttributeTargets.Property|AttributeTargets.Interface, AllowMultiple = false, Inherited = true)]
public sealed class ValueSerializerAttribute : Attribute
Inheritance
ValueSerializerAttribute

Constructors

ValueSerializerAttribute(string)

Constructor for the ValueSerializerAttribute

ValueSerializerAttribute(Type)

Constructor for the ValueSerializerAttribute

Properties

ValueSerializerType

The type of the value serializer to create for this type or property.

ValueSerializerTypeName

The assembly qualified name of the value serializer type for this type or property.