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; }
public TemplateRepository(TemplateDbContext dbContext, ITypeMappingService typeMappingService) : base(dbContext, typeMappingService) { }
protected BaseTemplateRepository(TemplateDbContext dbContext, ITypeMappingService typeMappingService) { DbContext = dbContext ?? throw new ArgumentNullException(nameof(dbContext)); TypeMappingService = typeMappingService ?? throw new ArgumentNullException(nameof(typeMappingService)); }