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; }
public WindowsRuleAdapter(Agent.Windows.Models.Rule rule) { _rule = rule; }