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
Exceptions
- MissingTypeException<TInterface>
When type can't be matched to enum.