示例#1
0
 /// <summary>
 /// 添加验证策略
 /// </summary>
 /// <param name="strategy">验证策略</param>
 public void AddStrategy(IValidateStrategy <TObject> strategy) => _validationContext.AddStrategy(strategy);