Class SoDatabaseServiceCollectionExtensions
Namespace: Microsoft.Extensions.DependencyInjection
Assembly: SoDataBase.dll
Syntax
public static class SoDatabaseServiceCollectionExtensions : Object
Methods
AddSoDatabase(IServiceCollection, Action<NetServerLocalOptionsBuilder>)
Set up NetServer Local (SoDatabase). This is independent of
Declaration
public static IServiceCollection AddSoDatabase(this IServiceCollection services, Action<NetServerLocalOptionsBuilder> builderAction = null)
Parameters
Type | Name | Description |
---|---|---|
IServiceCollection | services | Service collection to configure |
Action<NetServerLocalOptionsBuilder> | builderAction | Optional override of default behaviour |
Returns
Type | Description |
---|---|
IServiceCollection |