コード例 #1
0
ファイル: Bootstrapper.cs プロジェクト: synfron/Reshaper
 public Bootstrapper()
 {
     _selfProvider = new SelfProvider();
     _textRulesRegistryProvider    = new TextRulesRegistryProvider();
     _httpRulesRegistryProvider    = new HttpRulesRegistryProvider();
     _proxyRegistryProvider        = new ProxyRegistryProvider();
     _compositionContainerProvider = new CompositionContainerProvider();
     _systemProxySettingsProvider  = new SystemProxySettingsProvider();
 }
コード例 #2
0
ファイル: TextRuleViewModel.cs プロジェクト: synfron/Reshaper
        public TextRuleViewModel(Rule rule = null) : base(rule)
        {
            TextRulesRegistryProvider textRulesRegistryProvider = new TextRulesRegistryProvider();

            _textRulesRegistry = textRulesRegistryProvider.GetInstance();
        }