internal CodeGenerationServiceProvider(
     ITypeMappingService typeMappingService
     , ICodeGenerationService codeGenerationService
     , ICodeWriterFilterService codeFilterService
     , IMetadataProviderService metadataProviderService
     , INamingService namingService
     )
 {
     this.TypeMappingService      = typeMappingService;
     this.CodeGenerationService   = codeGenerationService;
     this.CodeWriterFilterService = codeFilterService;
     this.MetadataProviderService = metadataProviderService;
     this.NamingService           = namingService;
 }
示例#2
0
 public TemplateRepository(TemplateDbContext dbContext, ITypeMappingService typeMappingService) : base(dbContext, typeMappingService)
 {
 }
示例#3
0
 protected BaseTemplateRepository(TemplateDbContext dbContext, ITypeMappingService typeMappingService)
 {
     DbContext          = dbContext ?? throw new ArgumentNullException(nameof(dbContext));
     TypeMappingService = typeMappingService ?? throw new ArgumentNullException(nameof(typeMappingService));
 }