Table of Contents

Class UpdatePayloadFactory

Namespace
Concordium.Sdk.Types
Assembly
Concordium.Sdk.dll

Helper for constructing update payload structures.

public static class UpdatePayloadFactory
Inheritance
UpdatePayloadFactory
Inherited Members

Methods

From(IUpdatePayload)

Get update payload enum type for update payload type.

public static UpdateType From(IUpdatePayload payload)

Parameters

payload IUpdatePayload

Returns

UpdateType

Exceptions

MissingTypeException<TInterface>

When type can't be matched to enum.