public NoteContentService(DataContext dataContext, JiebaSegmenterService jiebaSegmenter, ConfigFileService configFileService, ICryptographyProvider cryptographyProvider, IDistributedIdGenerator idGenerator) { this.cryptographyProvider = cryptographyProvider; this.idGenerator = idGenerator; this.dataContext = dataContext; this.config = configFileService.WebConfig; this.jieba = jiebaSegmenter; }
public BlogService(DataContext dataContext, JiebaSegmenterService jieba) { this.dataContext = dataContext; this.jieba = jieba; }