Skip to content

CopierTester<TValue, TCopier> Methods

Test methods for copiers.

CreateCopier

virtual
View source
protected virtual TCopier CopierTester<TValue, CreateCopier()
Creates a copier instance for testing.

CreateServiceProvider

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

CreateValue

abstract
protected abstract TValue CopierTester<TValue, CreateValue()
Creates a value to copy.

Equals(TValue?, TValue?)

virtual
View source
protected virtual bool CopierTester<TValue, Equals(TValue? left, TValue? right)
Compares two values and returns true if they are equal, or false if they are not equal.

Parameters

leftTValue?
rightTValue?