Method Instantiate<T> Last update: 19.06.2026 Namespace: Phoenix.PlugIns Assembly: Phoenix.PlugIns.dll Instantiate<T>(IServiceProvider, string) Instantiates a new instance of the plug-in public T Instantiate<T>(IServiceProvider serviceProvider, string relativeDir) Parameters serviceProvider IServiceProvider The system service provider for dependency injection relativeDir string The directory that this metadata was read from Returns T A new instance of type T Type Parameters T The interface type for the plug-in