CodecProvider(IServiceProvider, IOptions<TypeManifestOptions>) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the CodecProvider class.
public CodecProvider (IServiceProvider serviceProvider, Microsoft.Extensions.Options.IOptions<Orleans.Serialization.Configuration.TypeManifestOptions> codecConfiguration);
new Orleans.Serialization.Serializers.CodecProvider : IServiceProvider * Microsoft.Extensions.Options.IOptions<Orleans.Serialization.Configuration.TypeManifestOptions> -> Orleans.Serialization.Serializers.CodecProvider
Public Sub New (serviceProvider As IServiceProvider, codecConfiguration As IOptions(Of TypeManifestOptions))
Parameters
- serviceProvider
- IServiceProvider
The service provider.
- codecConfiguration
- IOptions<TypeManifestOptions>
The codec configuration.