Exemple #1
0
 public Bootstrapper()
 {
     _selfProvider = new SelfProvider();
     _textRulesRegistryProvider    = new TextRulesRegistryProvider();
     _httpRulesRegistryProvider    = new HttpRulesRegistryProvider();
     _proxyRegistryProvider        = new ProxyRegistryProvider();
     _compositionContainerProvider = new CompositionContainerProvider();
     _systemProxySettingsProvider  = new SystemProxySettingsProvider();
 }
Exemple #2
0
        public HttpRuleViewModel(Rule rule = null) : base(rule)
        {
            HttpRulesRegistryProvider httpRulesRegistryProvider = new HttpRulesRegistryProvider();

            _httpRulesRegistry = httpRulesRegistryProvider.GetInstance();
        }