Skip to content

FieldCodecTester<TValue, TCodec> Methods

Methods for testing field codecs.

CanRoundTripViaObjectSerializer

View source
public void FieldCodecTester<TValue, CanRoundTripViaObjectSerializer()
Checks if values can be round-tripped through Orleans.Serialization.Serializer when using System.Object as the type parameter.

CanRoundTripViaSerializer

View source
public void FieldCodecTester<TValue, CanRoundTripViaSerializer()
Checks if values can be round-tripped through Orleans.Serialization.Serializer when using TValue as the type parameter.

CorrectlyAdvancesReferenceCounter

View source
public void FieldCodecTester<TValue, CorrectlyAdvancesReferenceCounter()
Checks whether the codec correctly advances the reference counter when writing to a pipe and reading from a pipe.

CreateCodec

virtual
View source
protected virtual TCodec FieldCodecTester<TValue, CreateCodec()
Creates a codec.

CreateServiceProvider

override
View source
protected override IServiceProvider FieldCodecTester<TValue, CreateServiceProvider()
Creates the serializer service provider for this test class.

CreateValue

abstract
protected abstract TValue FieldCodecTester<TValue, CreateValue()
Creates a value.

Equals(TValue?, TValue?)

virtual
View source
protected virtual bool FieldCodecTester<TValue, Equals(TValue? left, TValue? right)
Compares two values for equality.

Parameters

leftTValue?
rightTValue?