Skip to content

SerializationTesterFixture Properties

Fixture which owns a serializer service provider shared by all instances of a test class.

ServiceProvider

get
View source
public IServiceProvider ServiceProvider
Gets the service provider shared by tester instances using this fixture. Before creation, the most recently constructed tester supplies the service provider configuration.

Exceptions

System.InvalidOperationException
No tester is available to create the service provider, or the service provider factory accesses this property recursively.
System.ObjectDisposedException
The tester available to create the service provider has been disposed.