ServiceCollectionExtensions.AddSerializer Method
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.
Adds serializer support.
public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddSerializer (this Microsoft.Extensions.DependencyInjection.IServiceCollection services, Action<Orleans.Serialization.ISerializerBuilder> configure = default);
static member AddSerializer : Microsoft.Extensions.DependencyInjection.IServiceCollection * Action<Orleans.Serialization.ISerializerBuilder> -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddSerializer (services As IServiceCollection, Optional configure As Action(Of ISerializerBuilder) = Nothing) As IServiceCollection
Parameters
- services
- IServiceCollection
The service collection.
- configure
- Action<ISerializerBuilder>
The configuration delegate.
Returns
The service collection.