# FSharpListCodec&lt;T&gt; Constructors

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.serialization.fsharp/orleans.serialization.fsharplistcodec-1/)

## FSharpListCodec&lt;T&gt;(IValueSerializer&lt;FSharpListSurrogate&lt;T&gt;&gt;) {#constructor-orleans-serialization-serializers-ivalueserializer-orleans-serializa-c7c0edc5}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.serialization.fsharp/orleans.serialization.fsharplistcodec-1/constructors/constructor-orleans-serialization-serializers-ivalueserializer-orleans-serializa-c7c0edc5/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Serialization.FSharp/FSharpCodecs.cs#L914-L916)

```csharp
public FSharpListCodec(IValueSerializer<FSharpListSurrogate<T>> surrogateSerializer)
```

### Parameters

- `surrogateSerializer` (`IValueSerializer<FSharpListSurrogate<T>>`)
