# CodecProvider.TryGetDeepCopier

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.serialization/orleans.serialization.serializers.codecprovider/) | [Methods](/orleans/docs/api/csharp/microsoft.orleans.serialization/orleans.serialization.serializers.codecprovider/methods/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Serialization/Serializers/CodecProvider.cs#L312-L326)

```csharp
public IDeepCopier<T> TryGetDeepCopier<T>()
```

Gets a deep copier capable of copying instances of type `T`, or returns `null` if an appropriate copier was not found.

### Returns

A deep copier capable of copying instances of type `T`, or `null` if an appropriate copier was not found.
