Fix typo
This commit is contained in:
parent
19a612160e
commit
7a6c1d8481
|
@ -7,9 +7,9 @@ namespace LFlow.Base;
|
||||||
public class App
|
public class App
|
||||||
{
|
{
|
||||||
public static IServiceCollection? services;
|
public static IServiceCollection? services;
|
||||||
private static IServiceProvider? serviceProvider => services?.BuildServiceProvider();
|
private static IServiceProvider? ServiceProvider => services?.BuildServiceProvider();
|
||||||
public static T? GetService<T>()
|
public static T? GetService<T>()
|
||||||
{
|
{
|
||||||
return serviceProvider.GetService<T>();
|
return ServiceProvider!.GetService<T>();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue