Ejemplo n.º 1
0
 public HostsFileControl()
     : base()
 {
     _hostsFileEditor = DependencyManager.HostsFileEditor;
     TabTitle         = "Hosts File";
     InitializeComponent();
 }
Ejemplo n.º 2
0
        public HostsFileControl()
        {
            _logWriter       = DependencyManager.LogWriter;
            _hostsFileEditor = DependencyManager.HostsFileEditor;

            _logWriter.LogInfo("Hosts File initializing.");
            _model = new HostsFileModel();
        }
Ejemplo n.º 3
0
        public HostsFileControl()
        {
            _logWriter       = DependencyManager.Resolve <ILogWriter>();
            _hostsFileEditor = DependencyManager.Resolve <IHostsFileEditor>();

            _logWriter.LogInfo("Hosts File initializing.");
            _model = new HostsFileModel();
            if (!DesignerProperties.GetIsInDesignMode(this))
            {
                SetRuntimeOptions();
            }
            _logWriter.LogInfo("Hosts File initialized.");
        }