BaseDynamicDataGenerator.AddServices method

namespace: Serenity.Web   assemblySerenity.Net.Web

Initializes the services used by the generator.

protected virtual IServiceCollection AddServices(IServiceCollection collection)
parameter description
collection The service collection to add to.

Return Value

The same service collection so that calls can be chained.

See Also