You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
667 B
37 lines
667 B
1 month ago
|
using System;
|
||
|
using System.Collections.Generic;
|
||
|
using System.Linq;
|
||
|
using System.Text;
|
||
|
using System.Threading.Tasks;
|
||
|
|
||
|
using Sog;
|
||
|
using ProtoCSClass;
|
||
|
|
||
|
namespace CheckConfig
|
||
|
{
|
||
|
public class ConventionalStrategy : ConfigStrategy, InitializingConfig
|
||
|
{
|
||
|
//后期优化:增加执行顺序
|
||
|
public ConventionalStrategy() : base("lock")
|
||
|
{
|
||
|
}
|
||
|
|
||
|
public void AfterPropertiesSet()
|
||
|
{
|
||
|
CheckConfigStrategyFactory.Register("常规", this);
|
||
|
}
|
||
|
|
||
|
/// <summary>
|
||
|
/// 常规检测-
|
||
|
/// </summary>
|
||
|
public override void CheckConfigAlgorithm()
|
||
|
{
|
||
|
|
||
|
|
||
|
|
||
|
}
|
||
|
|
||
|
|
||
|
}
|
||
|
}
|