Skip to main content

Component Plug-In SDK 2026 R1

Method ConfigureServiceCollection

Last update: 19.06.2026

Namespace: Phoenix.PlugIns
Assembly: Phoenix.PlugIns.dll

ConfigureServiceCollection(IServiceCollection)

Configures a service collection to correctly load an IPlugInManager. Most users will prefer to use ConfigureWithDefaultRepositories(IServiceCollection, Assembly) which also configures the default repositories that the PlugInManager will use. Use of ConfigureServiceCollection means the consumer will need to configure dependency injection with an appropriate IPlugInRepository.

public static void ConfigureServiceCollection(IServiceCollection serviceCollection)

Parameters

serviceCollection IServiceCollection

The service collection to configure

Connect with Ansys