# SerializationTester Methods

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.serialization.testkit/orleans.serialization.testkit.serializationtester/)

## CreateServiceProvider {#createserviceprovider-1b6ec000}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.serialization.testkit/orleans.serialization.testkit.serializationtester/methods/createserviceprovider-1b6ec000/)

```csharp
protected abstract IServiceProvider CreateServiceProvider()
```

Creates the serializer service provider for this test class.

## Dispose(bool) {#dispose-bool-84b8f27d}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.serialization.testkit/orleans.serialization.testkit.serializationtester/methods/dispose-bool-84b8f27d/)

[Source](https://github.com/dotnet/orleans/blob/b7a9e3e1c9c54b3cec3a467c5734bf7744541bcf/src/Orleans.Serialization.TestKit/SerializationTester.cs#L74-L78)

```csharp
protected virtual void Dispose(bool disposing)
```

Releases resources used by this instance.

### Parameters

- `disposing` (`bool`)
