Skip to content

Common Object

Ivan Kozhin edited this page Sep 7, 2020 · 2 revisions

1. ObjectUtils

T CreateInstanceWithServiceProvider<T>(IServiceProvider serviceProvider);
object CreateInstanceWithServiceProvider(Type type, IServiceProvider serviceProvider);

Create an object of the specified type with dependency resolving.

Clone this wiki locally