示例#1
0
        public WindowsRuleAdapter(Agent.Generic.Models.Rule rule)
        {
            _rule = new Agent.Windows.Models.Rule();

            Name = rule.Name;

            Action    = rule.Action;
            Direction = rule.Direction;
            Protocol  = rule.Protocol;

            LocalAddress = rule.LocalAddress;
            LocalPort    = rule.LocalPort;

            RemoteAddress = rule.RemoteAddress;
            RemotePort    = rule.RemotePort;
        }
示例#2
0
 public WindowsRuleAdapter(Agent.Windows.Models.Rule rule)
 {
     _rule = rule;
 }