Browse Source

Fix typo.

pull/570/head
Halil ibrahim Kalkan 8 years ago
parent
commit
cbde00315e
  1. 10
      framework/src/Volo.Abp.Ddd.Domain/Volo/Abp/DependencyInjection/CommonDbContextRegistrationOptions.cs

10
framework/src/Volo.Abp.Ddd.Domain/Volo/Abp/DependencyInjection/CommonDbContextRegistrationOptions.cs

@ -21,7 +21,7 @@ namespace Volo.Abp.DependencyInjection
public Type DefaultRepositoryImplementationType { get; private set; } public Type DefaultRepositoryImplementationType { get; private set; }
public Type DefaultRepositoryImplementationTypeWithouTKey { get; private set; } public Type DefaultRepositoryImplementationTypeWithoutKey { get; private set; }
public bool RegisterDefaultRepositories { get; private set; } public bool RegisterDefaultRepositories { get; private set; }
@ -29,7 +29,7 @@ namespace Volo.Abp.DependencyInjection
public Dictionary<Type, Type> CustomRepositories { get; } public Dictionary<Type, Type> CustomRepositories { get; }
public bool SpecifiedDefaultRepositoryTypes => DefaultRepositoryImplementationType != null && DefaultRepositoryImplementationTypeWithouTKey != null; public bool SpecifiedDefaultRepositoryTypes => DefaultRepositoryImplementationType != null && DefaultRepositoryImplementationTypeWithoutKey != null;
protected CommonDbContextRegistrationOptions(Type originalDbContextType, IServiceCollection services) protected CommonDbContextRegistrationOptions(Type originalDbContextType, IServiceCollection services)
{ {
@ -91,14 +91,14 @@ namespace Volo.Abp.DependencyInjection
public ICommonDbContextRegistrationOptionsBuilder SetDefaultRepositoryClasses( public ICommonDbContextRegistrationOptionsBuilder SetDefaultRepositoryClasses(
Type repositoryImplementationType, Type repositoryImplementationType,
Type repositoryImplementationTypeWithouTKey Type repositoryImplementationTypeWithoutKey
) )
{ {
Check.NotNull(repositoryImplementationType, nameof(repositoryImplementationType)); Check.NotNull(repositoryImplementationType, nameof(repositoryImplementationType));
Check.NotNull(repositoryImplementationTypeWithouTKey, nameof(repositoryImplementationTypeWithouTKey)); Check.NotNull(repositoryImplementationTypeWithoutKey, nameof(repositoryImplementationTypeWithoutKey));
DefaultRepositoryImplementationType = repositoryImplementationType; DefaultRepositoryImplementationType = repositoryImplementationType;
DefaultRepositoryImplementationTypeWithouTKey = repositoryImplementationTypeWithouTKey; DefaultRepositoryImplementationTypeWithoutKey = repositoryImplementationTypeWithoutKey;
return this; return this;
} }

Loading…
Cancel
Save