# FSharpValueOptionCodec&lt;T&gt; Constructors

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

## FSharpValueOptionCodec&lt;T&gt;(IFieldCodec&lt;T&gt;) {#constructor-orleans-serialization-codecs-ifieldcodec-t-4eb50e9e}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.serialization.fsharp/orleans.serialization.fsharpvalueoptioncodec-1/constructors/constructor-orleans-serialization-codecs-ifieldcodec-t-4eb50e9e/)

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

```csharp
public FSharpValueOptionCodec(IFieldCodec<T> item1Codec)
```

Initializes a new instance of the `Orleans.Serialization.FSharpValueOptionCodec-1` class.

### Parameters

- `item1Codec` (`IFieldCodec<T>`): The item codec.
