Exemple #1
0
 public EditModel(ISensitiveWordManager sensitiveWordManager)
 {
     _sensitiveWordManager = sensitiveWordManager;
 }
Exemple #2
0
 /// <summary>
 /// 初始化类<see cref="IndexModel"/>。
 /// </summary>
 /// <param name="sensitiveWordManager">敏感词汇管理接口。</param>
 public IndexModel(ISensitiveWordManager sensitiveWordManager)
 {
     _sensitiveWordManager = sensitiveWordManager;
 }