Microsoft.Agents.Core.Serialization Namespace

Classes

Name Description
ActivityTypeAttribute

Declares that a custom Activity subclass should be deserialized when an inbound Activity matches the specified discriminators.

ActivityTypeInitAssemblyAttribute

Assembly-level attribute that points at a custom Activity subclass annotated with one or more ActivityTypeAttribute declarations.

CoreJsonContext

Source-generated JsonSerializerContext for core model types not handled by a registered custom JsonConverter. Wired into SerializationOptions as the base of the IJsonTypeInfoResolver chain.

EntityInitAssemblyAttribute

Attribute containing a type with an Init method to be called when initializing ProtocolJsonSerializer.

EntityNameAttribute

This allows you to mark a class with the name of the Entity it represents.

ProtocolJsonSerializer

Extensions for converting objects to desired types using serialization.

SerializationInitAssemblyAttribute

Attribute containing a type with an Init method to be called when initializing ProtocolJsonSerializer.

SerializationInitAttribute
TypeExtensions

Structs

Name Description
ActivityResolutionContext

The discriminator values peeked from an inbound Activity's JSON, used to resolve which custom Activity subclass to deserialize into.

Delegates

Name Description
ActivityTypeResolver

An imperative resolver that maps an inbound Activity to a custom Activity subclass to deserialize into.