Table of Contents

Interface IValueSerializerContext

Namespace
Alternet.UI.Markup
Assembly
Alternet.UI.dll

Context provided to ValueSerializer that can be used to special case serialization for different users of the ValueSerializaer or for modes of serialization.

public interface IValueSerializerContext : ITypeDescriptorContext, IServiceProvider

Methods

GetValueSerializerFor(PropertyDescriptor)

Get a value serializer for the given property descriptor. A property can override the value serializer that is to be used to serialize the property by specifing either a ValueSerializerAttribute or a TypeConverterAttribute. This method takes these attributes into account when determining the value serializer.

GetValueSerializerFor(Type)

Get the value serializer associated with the given type.