Table of Contents

Method GetMessage

Namespace
Ratatoskr.Testing
Assembly
Ratatoskr.Testing.dll

GetMessage<T>()

Gets the deserialized message as the specified type.

public T GetMessage<T>() where T : notnull

Returns

T

Type Parameters

T

Exceptions

InvalidOperationException

Thrown if the message is not available or not of the expected type.