Table of Contents

Class NoAnonSerializationBinder

Namespace
Breeze.Core
Assembly
Breeze.Core.dll

Serialization binder for anonymous types, such as query projections.
Removes the verbose type name from the serialized JSON to reduce payload size.

public class NoAnonSerializationBinder : DefaultSerializationBinder, ISerializationBinder
Inheritance
DefaultSerializationBinder
NoAnonSerializationBinder
Implements
ISerializationBinder
Inherited Members

Methods

BindToName(Type, out string?, out string?)

Don't return assemblyName or typeName if anonymous type

public override void BindToName(Type serializedType, out string? assemblyName, out string? typeName)

Parameters

serializedType Type
assemblyName string
typeName string