Browse Source

chore: Update typo in error message

pull/13104/head
JRoger 4 years ago
committed by GitHub
parent
commit
91a6f41a18
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      framework/src/Volo.Abp.Core/Volo/Abp/AbpApplicationBase.cs

4
framework/src/Volo.Abp.Core/Volo/Abp/AbpApplicationBase.cs

@ -223,7 +223,7 @@ public abstract class AbpApplicationBase : IAbpApplication
{ {
if (_configuredServices) if (_configuredServices)
{ {
throw new AbpInitializationException("Services have already been configured! If you call ConfigureServicesAsync method, you must have set AbpApplicationCreationOptions.SkipConfigureServices tu true before."); throw new AbpInitializationException("Services have already been configured! If you call ConfigureServicesAsync method, you must have set AbpApplicationCreationOptions.SkipConfigureServices to true before.");
} }
} }
@ -231,7 +231,7 @@ public abstract class AbpApplicationBase : IAbpApplication
public virtual void ConfigureServices() public virtual void ConfigureServices()
{ {
CheckMultipleConfigureServices(); CheckMultipleConfigureServices();
var context = new ServiceConfigurationContext(Services); var context = new ServiceConfigurationContext(Services);
Services.AddSingleton(context); Services.AddSingleton(context);

Loading…
Cancel
Save