Пример #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);
 }