示例#1
0
 protected RulesViewModel()
 {
     PowerShellScript = string.Empty;
     FirewallUtils    = new FirewallUtilities.Utilities();
     GetRules();
 }
示例#2
0
 protected ToolsViewModel()
 {
     FirewallUtils       = new FirewallUtilities.Utilities();
     uow                 = new UnitOfWork();
     RuleModelCollection = new XPCollection <RuleModel>(uow);
 }