Table of Contents

Method CreateInterAppSerializer

Namespace
Skyline.DataMiner.Core.InterAppCalls.Common.Serializing
Assembly
Skyline.DataMiner.Core.InterAppCalls.Common.dll

CreateInterAppSerializer(IEnumerable<Type>)

Creates a serializer specifically for use by the InterApp module.

public static ISerializer CreateInterAppSerializer(IEnumerable<Type> knownTypes)

Parameters

knownTypes IEnumerable<Type>

All possible custom types present in the message.

Returns

ISerializer

An instance of type ISerializer.

Exceptions

ArgumentNullException

knownTypes is null.

CreateInterAppSerializer(Type, IEnumerable<Type>)

Creates a serializer specifically for use by the InterApp module.

public static ISerializer CreateInterAppSerializer(Type baseType, IEnumerable<Type> knownTypes)

Parameters

baseType Type

The type of the base class to serialize or deserialize.

knownTypes IEnumerable<Type>

All possible custom types present in the message.

Returns

ISerializer

An instance of type ISerializer.

Exceptions

ArgumentNullException

knownTypes is null.