# FSharpValueOptionCodec&lt;T&gt;

Package: [Microsoft.Orleans.Serialization.FSharp](/orleans/docs/api/csharp/microsoft.orleans.serialization.fsharp/) 10.0.0

[NuGet package](https://www.nuget.org/packages/Microsoft.Orleans.Serialization.FSharp) | [Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Serialization.FSharp/FSharpCodecs.cs#L153)

```csharp
public class FSharpValueOptionCodec<T> : IFieldCodec, IFieldCodec<FSharpValueOption<T>>
```

Serializer for `Microsoft.FSharp.Core.FSharpValueOption-1`.

## Constructors

- [FSharpValueOptionCodec&lt;T&gt;(IFieldCodec&lt;T&gt;)](/orleans/docs/api/csharp/microsoft.orleans.serialization.fsharp/orleans.serialization.fsharpvalueoptioncodec-1/constructors/constructor-orleans-serialization-codecs-ifieldcodec-t-4eb50e9e/)
