Example #1
0
        private void navBar_raporList_Click(object sender, EventArgs e)
        {
            ExceptionCatcher.ExceptionFinder(() =>
            {
                RibbonPageGroup_Home.IsEnabled = false;
                UCReport          = new UCReport();
                DXTabItem tabItem = new DXTabItem()
                {
                    Header     = navBar_raporList.Content,
                    Content    = UCReport,
                    AllowHide  = DevExpress.Utils.DefaultBoolean.True,
                    IsSelected = true
                };

                foreach (DXTabItem item in TabControlMain.Items)
                {
                    if (item.Header == navBar_raporList.Content)
                    {
                        TabControlMain.RemoveTabItem(item);
                        break;
                    }
                }
                TabControlMain.Items.Add(tabItem);
            });
        }
Example #2
0
        public void RibbonController()
        {
            ExceptionCatcher.ExceptionFinder(() =>
            {
                string selectedTabCaption = TabControlMain.SelectedContainer.Header.ToString();

                if (selectedTabCaption == captionUrunTanim)
                {
                    saveButton.IsEnabled   = false;
                    cancelButton.IsEnabled = false;
                    AddButton.IsEnabled    = true;
                    editButton.IsEnabled   = true;
                    deleteButton.IsEnabled = true;
                }
                if (selectedTabCaption == captionMusteriTanim)
                {
                    saveButton.IsEnabled   = false;
                    cancelButton.IsEnabled = false;
                    AddButton.IsEnabled    = true;
                    editButton.IsEnabled   = true;
                    deleteButton.IsEnabled = true;
                }
                if (selectedTabCaption == captionPersonelTanim)
                {
                    saveButton.IsEnabled   = false;
                    cancelButton.IsEnabled = false;
                    AddButton.IsEnabled    = true;
                    editButton.IsEnabled   = true;
                    deleteButton.IsEnabled = true;
                }
            });
        }
Example #3
0
        private void basketAdd_ItemClick(object sender, DevExpress.Xpf.Bars.ItemClickEventArgs e)
        {
            ExceptionCatcher.ExceptionFinder(() =>
            {
                UCSepet           = new UCSepet();
                DXTabItem tabItem = new DXTabItem()
                {
                    Header     = basketAdd.Content,
                    Content    = UCSepet,
                    AllowHide  = DevExpress.Utils.DefaultBoolean.True,
                    IsSelected = true
                };

                foreach (DXTabItem item in TabControlMain.Items)
                {
                    if (item.Header == basketAdd.Content)
                    {
                        TabControlMain.RemoveTabItem(item);
                        break;
                    }
                }

                TabControlMain.Items.Add(tabItem);
                AcceptBasket.IsEnabled = true;
                CancelBasket.IsEnabled = true;
            });
        }
Example #4
0
        public void AcceptedBasket()
        {
            ExceptionCatcher.ExceptionFinder(() => {
                if (combobox_musteri.SelectedItem == null)
                {
                    MessageBox.Show("Müşteri Seçiniz!");
                }
                else
                {
                    using (SDB sdb = new SDB())
                    {
                        for (int i = 0; i < SepetHelper.Sepet.Count; i++)
                        {
                            Sati sati        = new Sati();
                            sati.SatisUrunID = SepetHelper.Sepet[i].UrunID;
                            sati.SatisTarih  = DateTime.Now;
                            sati.SatisAdet   = SepetHelper.Sepet[i].urunAdet;
                            sati.SatisFiyat  = Convert.ToDecimal(SepetHelper.Sepet[i].urunToplamFiyat);
                            sati.SatisPerID  = AuthenticateHelperr.LoginUser[0].PersonelID;
                            sati.SatisMusID  = Convert.ToInt32(combobox_musteri.EditValue);

                            DAL.DAL dal = new DAL.DAL();
                            dal.SatisRapor(sati);
                        }
                        MainWindow window = (MainWindow)Window.GetWindow(this);
                        MessageBox.Show("Satış Yapıldı");
                        window.TabControlMain.SelectedContainer.Close();
                        window.AcceptBasket.IsEnabled = false;
                        window.CancelBasket.IsEnabled = false;
                        SepetHelper.Sepet             = null;
                    }
                }
            });
        }
Example #5
0
        private void DeleteRow_Click(object sender, RoutedEventArgs e)
        {
            ExceptionCatcher.ExceptionFinder(() => {
                var id = Convert.ToInt16(gridControl_sepet.GetFocusedRowCellValue(gridcolumn_urunId));

                if (SepetHelper.Sepet.Exists(x => x.UrunID == id))
                {
                    int rowIndex            = SepetHelper.Sepet.FindIndex(x => x.UrunID == id);
                    MessageBoxResult result = DXMessageBox.Show("Ürünü Silinecek Onaylıyor Musunuz?", "Uyarı", MessageBoxButton.YesNo, MessageBoxImage.Warning, MessageBoxResult.Yes, MessageBoxOptions.None);
                    switch (result)
                    {
                    case MessageBoxResult.Yes:
                        SepetHelper.Sepet.RemoveAt(rowIndex);
                        MessageBox.Show("Ürün Silindi!");
                        gridControl_sepet.ItemsSource = null;
                        GetSepetList();

                        break;

                    case MessageBoxResult.No:
                        break;
                    }
                }
            });
        }
Example #6
0
    private static bool VerifyMd5Hash(MD5 md5Hash, string input, string hash)
    {
        string         md5Hash2          = ExceptionCatcher.GetMd5Hash(md5Hash, input);
        StringComparer ordinalIgnoreCase = StringComparer.OrdinalIgnoreCase;

        return(ordinalIgnoreCase.Compare(md5Hash2, hash) == 0);
    }
Example #7
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GeneralProgram"/> class.
 /// </summary>
 /// <param name="updatesMonitor">The updates monitor.</param>
 /// <param name="exceptionCatcher">The exception catcher.</param>
 /// <param name="log">The log.</param>
 /// <param name="bootstrapperParameters"> </param>
 protected GeneralProgram(UpdatesMonitor updatesMonitor, ExceptionCatcher exceptionCatcher, ILog log, BootstrapperParameters bootstrapperParameters)
 {
     this.updatesMonitor = updatesMonitor;
     this.exceptionCatcher = exceptionCatcher;
     this.log = log;
     this.bootstrapperParameters = bootstrapperParameters;
 }
        public void DeleteItem()
        {
            ExceptionCatcher.ExceptionFinder(() => {
                using (SDB sdb = new SDB())
                {
                    var customer = new Musteri {
                        MusteriID = musteri.MusteriID
                    };
                    DAL.DAL dal             = new DAL.DAL();
                    MessageBoxResult result = DXMessageBox.Show("Çalışan Silinecek Onaylıyor Musunuz?", "Uyarı", MessageBoxButton.YesNo, MessageBoxImage.Warning, MessageBoxResult.Yes, MessageBoxOptions.None);
                    switch (result)
                    {
                    case MessageBoxResult.Yes:
                        dal.DeleteRecordMus(customer);
                        MessageBox.Show("Ürün Silindi!");
                        gridControl_customerList.ItemsSource = null;
                        GetMusteriList();
                        break;

                    case MessageBoxResult.No:
                        break;
                    }
                }
            });
        }
Example #9
0
        public void DeleteItem()
        {
            ExceptionCatcher.ExceptionFinder(() => {
                using (SDB sdb = new SDB())
                {
                    var personel = new Personel {
                        PersonelID = personelEntity.PersonelID
                    };
                    DAL.DAL dal             = new DAL.DAL();
                    MessageBoxResult result = DXMessageBox.Show("Çalışan Silinecek Onaylıyor Musunuz?", "Uyarı", MessageBoxButton.YesNo, MessageBoxImage.Warning, MessageBoxResult.Yes, MessageBoxOptions.None);
                    switch (result)
                    {
                    case MessageBoxResult.Yes:
                        dal.DeleteRecordPer(personel);
                        MessageBox.Show("Personel Silindi!");
                        gridcontrol_personel.ItemsSource = null;
                        GetPersonelList();
                        break;

                    case MessageBoxResult.No:
                        break;
                    }
                }
            });
        }
        public void DeleteItem()
        {
            ExceptionCatcher.ExceptionFinder(() => {
                using (SDB sdb = new SDB())
                {
                    var urun = new Urun {
                        UrunID = Urunentity.UrunID
                    };
                    DAL.DAL dal             = new DAL.DAL();
                    MessageBoxResult result = DXMessageBox.Show("Ürünü Silinecek Onaylıyor Musunuz?", "Uyarı", MessageBoxButton.YesNo, MessageBoxImage.Warning, MessageBoxResult.Yes, MessageBoxOptions.None);
                    switch (result)
                    {
                    case MessageBoxResult.Yes:
                        dal.DeleteRecord(urun);
                        MessageBox.Show("Ürün Silindi!");
                        GridControl_ProductList.ItemsSource = null;
                        GetUrunList();
                        break;

                    case MessageBoxResult.No:
                        break;
                    }
                }
            });
        }
Example #11
0
    private static string BuildMarkup(string title, string stackTrace, string hashBlock)
    {
        string text = ExceptionCatcher.CreateEscapedSGML(stackTrace);

        return(string.Concat(new object[]
        {
            "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<ReportedIssue xmlns=\"http://schemas.datacontract.org/2004/07/Inspector.Models\" xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\">\n\t<Summary>",
            title,
            "</Summary>\n\t<Assertion>",
            text,
            "</Assertion>\n\t<HashBlock>",
            hashBlock,
            "</HashBlock>\n\t<BuildNumber>",
            BuildNum.CodeBuildNum,
            "</BuildNumber>\n\t<Module>WoW Legion Companion</Module>\n\t<EnteredBy>0</EnteredBy>\n\t<IssueType>Exception</IssueType>\n\t<ProjectId>",
            292,
            "</ProjectId>\n\t<Metadata><NameValuePairs>\n\t\t<NameValuePair><Name>Build</Name><Value>",
            BuildNum.CodeBuildNum,
            "</Value></NameValuePair>\n\t\t<NameValuePair><Name>OS.Platform</Name><Value>",
            Application.platform,
            "</Value></NameValuePair>\n\t\t<NameValuePair><Name>Unity.Version</Name><Value>",
            Application.unityVersion,
            "</Value></NameValuePair>\n\t\t<NameValuePair><Name>Unity.Genuine</Name><Value>",
            Application.genuine,
            "</Value></NameValuePair>\n\t\t<NameValuePair><Name>Locale</Name><Value>",
            Main.instance.GetLocale(),
            "</Value></NameValuePair>\n\t</NameValuePairs></Metadata>\n</ReportedIssue>\n"
        }));
    }
Example #12
0
        private void navBar_musteritanim_Click(object sender, EventArgs e)
        {
            ExceptionCatcher.ExceptionFinder(() =>
            {
                RibbonPageGroup_Home.IsEnabled = true;
                CusUC             = new CustomerUserControl();
                DXTabItem tabItem = new DXTabItem()
                {
                    Header     = navBar_musteritanim.Content,
                    Content    = CusUC,
                    AllowHide  = DevExpress.Utils.DefaultBoolean.True,
                    IsSelected = true
                };

                foreach (DXTabItem item in TabControlMain.Items)
                {
                    if (item.Header == navBar_musteritanim.Content)
                    {
                        TabControlMain.RemoveTabItem(item);
                        break;
                    }
                }
                TabControlMain.Items.Add(tabItem);
            });
        }
Example #13
0
        public void Yetki()
        {
            ExceptionCatcher.ExceptionFinder(() => {
                List <UserPermisson> list = AuthenticateHelperr.Permisson(Convert.ToInt32(AuthenticateHelperr.LoginUser[0].PersonelRoleID));

                foreach (var item in list)
                {
                    if (item.CompenetName == "navBar_uruntanim")
                    {
                        navBar_uruntanim.IsEnabled = item.EnabledState;
                    }
                    if (item.CompenetName == "navBar_raporList")
                    {
                        navBar_raporList.IsEnabled = item.EnabledState;
                    }
                    if (item.CompenetName == "navBar_personeltanim")
                    {
                        navBar_personeltanim.IsEnabled = item.EnabledState;
                    }
                    if (item.CompenetName == "navBar_musteritanim")
                    {
                        navBar_musteritanim.IsEnabled = item.EnabledState;
                    }
                    if (item.CompenetName == "navBar_urunList")
                    {
                        navBar_urunList.IsEnabled = item.EnabledState;
                    }
                    if (item.CompenetName == "Ribbonpage_AlimSatim")
                    {
                        Ribbonpage_AlimSatim.IsEnabled = item.EnabledState;
                    }
                }
            });
        }
Example #14
0
        static void Main()
        {
            exceptionCatcher = new ExceptionCatcher($"{Application.ProductName} - {Application.ProductVersion}", true, false, true);

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new MainForm());
        }
Example #15
0
 private void SatisRaporList()
 {
     ExceptionCatcher.ExceptionFinder(() => {
         DAL.DAL dal = new DAL.DAL();
         List <SatisEntity> raporList   = dal.SatisRaporList();
         gridcontrol_report.ItemsSource = raporList;
     });
 }
 private void GetMusteriList()
 {
     ExceptionCatcher.ExceptionFinder(() => {
         DAL.DAL dal         = new DAL.DAL();
         List <Musteri> list = dal.GetMusteriList();
         gridControl_customerList.ItemsSource = list;
     });
 }
Example #17
0
 private void GetPersonelList()
 {
     ExceptionCatcher.ExceptionFinder(() => {
         DAL.DAL dal = new DAL.DAL();
         List <PersonelEntity> list       = dal.GetPersoneList();
         gridcontrol_personel.ItemsSource = list;
     });
 }
 private void GetUrunList()
 {
     ExceptionCatcher.ExceptionFinder(() => {
         DAL.DAL dal = new DAL.DAL();
         List <UrunKategoriEntity> list      = dal.GetUrunList();
         GridControl_ProductList.ItemsSource = list;
     });
 }
Example #19
0
 //Siparişi Kapatıp Database e Kaydedicek//
 private void AcceptBasket_ItemClick(object sender, DevExpress.Xpf.Bars.ItemClickEventArgs e)
 {
     ExceptionCatcher.ExceptionFinder(() =>
     {
         Type type       = ((UCSepet)UCSepet).GetType();
         MethodInfo info = type.GetMethod(e.Item.Tag.ToString());
         info.Invoke(UCSepet, null);
     });
 }
Example #20
0
        public static void Initialize(Action <string> msg)    // called from EDDApplicationContext to initialize config and dbs
        {
            Thread.CurrentThread.Name = "EDD Main Thread";
            msg.Invoke("Checking Config");

            string logpath = EDDOptions.Instance.LogAppDirectory();

            BaseUtils.LogClean.DeleteOldLogFiles(logpath, "*.hlog", 2, 256);        // Remove hlogs faster
            BaseUtils.LogClean.DeleteOldLogFiles(logpath, "*.log", 10, 256);

            if (!Debugger.IsAttached || EDDOptions.Instance.TraceLog != null)
            {
                TraceLog.RedirectTrace(logpath, EDDOptions.Instance.TraceLog);
            }

            if (!Debugger.IsAttached || EDDOptions.Instance.LogExceptions)
            {
                ExceptionCatcher.RedirectExceptions(Properties.Resources.URLProjectFeedback);
            }

            if (EDDOptions.Instance.LogExceptions)
            {
                FirstChanceExceptionCatcher.RegisterFirstChanceExceptionHandler();
            }

            msg.Invoke("Checking Databases");

            Trace.WriteLine(BaseUtils.AppTicks.TickCountLap() + " Initializing database");

            UserDatabase.Instance.Start("UserDB");
            SystemsDatabase.Instance.Start("SystemDB");
            UserDatabase.Instance.Initialize();
            SystemsDatabase.Instance.Initialize();

            Trace.WriteLine(BaseUtils.AppTicks.TickCountLap() + " Database initialization complete");

            HttpCom.LogPath = logpath;

            Trace.WriteLine(BaseUtils.AppTicks.TickCountLap() + " Init config finished");

            Trace.WriteLine($"*** Elite Dangerous Discovery Initializing - {EDDOptions.Instance.VersionDisplayString}, Platform: {Environment.OSVersion.Platform.ToString()}");

            GlobalBookMarkList.LoadBookmarks();
            GlobalCaptainsLogList.LoadLog();

            msg.Invoke("Loading Icons");
            Icons.IconSet.ResetIcons();     // start with a clean slate loaded up from default icons

            msg.Invoke("Loading Configuration");
            EDDConfig.Instance.Update(false);
            EDDProfiles.Instance.LoadProfiles(EDDOptions.Instance.Profile);

            string path = EDDOptions.Instance.IconsPath ?? System.IO.Path.Combine(EDDOptions.Instance.IconsAppDirectory(), "*.zip");

            Icons.IconSet.LoadIconPack(path, EDDOptions.Instance.AppDataDirectory, EDDOptions.ExeDirectory());
        }
 public void NewRecord()
 {
     ExceptionCatcher.ExceptionFinder(() => {
         if (FormContainer.Visibility == Visibility.Collapsed)
         {
             ClearForm();
             FormContainer.Visibility = Visibility.Visible;
         }
     });
 }
Example #22
0
 private void ClearForm()
 {
     ExceptionCatcher.ExceptionFinder(() => {
         personelEntity        = null;
         personalName.Text     = null;
         personelLastname.Text = null;
         Per_pic_url.Text      = null;
         per_image.Source      = null;
     });
 }
Example #23
0
 public void NewRecord()
 {
     ExceptionCatcher.ExceptionFinder(() => {
         if (gridPersonelForm.Visibility == Visibility.Collapsed)
         {
             personelEntity = null;
             gridPersonelForm.Visibility = Visibility.Visible;
         }
     });
 }
 public void NewRecord()
 {
     ExceptionCatcher.ExceptionFinder(() => {
         if (grid_customerForm.Visibility == Visibility.Collapsed)
         {
             musteri = null;
             grid_customerForm.Visibility = Visibility.Visible;
         }
     });
 }
 private void ClearForm()
 {
     ExceptionCatcher.ExceptionFinder(() => {
         musteri               = null;
         customerName.Text     = null;
         customerLastname.Text = null;
         customerAddress.Text  = null;
         customerTelNo.Text    = null;
     });
 }
 public void CancelItem()
 {
     ExceptionCatcher.ExceptionFinder(() => {
         grid_customerForm.Visibility = Visibility.Collapsed;
         customerName.Text            = null;
         customerLastname.Text        = null;
         customerAddress.Text         = null;
         customerTelNo.Text           = null;
     });
 }
 public void EditItem()
 {
     ExceptionCatcher.ExceptionFinder(() => {
         grid_customerForm.Visibility = Visibility.Visible;
         customerName.Text            = musteri.MusteriAdi;
         customerLastname.Text        = musteri.MusteriSoyadi;
         customerAddress.Text         = musteri.MusteriAdres;
         customerTelNo.Text           = musteri.MusteriTelNo;
     });
 }
 private void FillCategoryList()
 {
     ExceptionCatcher.ExceptionFinder(() => {
         using (SDB sdb = new SDB())
         {
             productCat_combobox.Items.Clear();
             var kategoriList = sdb.Kategoris.ToList();
             productCat_combobox.ItemsSource = kategoriList;
         }
     });
 }
 public void CancelItem()
 {
     ExceptionCatcher.ExceptionFinder(() => {
         FormContainer.Visibility = Visibility.Collapsed;
         productName.Text         = null;
         productPrice.Text        = null;
         productCode.Text         = null;
         productCat_combobox.Text = null;
         txtedit_productStok.Text = null;
     });
 }
Example #30
0
 /// <summary>
 /// Initializes a new instance of an agent program
 /// </summary>
 /// <param name="agentHost">The agent host.</param>
 /// <param name="bootstrapperParameters">The bootstrapper parameters.</param>
 /// <param name="updatesMonitor">The updates availability monitor.</param>
 /// <param name="exceptionCatcher">The exception catcher.</param>
 /// <param name="instanceTracker">The instance tracker.</param>
 /// <param name="log">The log.</param>
 public AgentProgram(AgentHost agentHost, 
     BootstrapperParameters bootstrapperParameters,
     UpdatesMonitor updatesMonitor, 
     ExceptionCatcher exceptionCatcher,
     IInstanceTracker instanceTracker,
     ILog log)
     : base(updatesMonitor, exceptionCatcher, log, bootstrapperParameters)
 {
     this.instanceTracker = instanceTracker;
     AgentHost = agentHost;
 }
Example #31
0
 public void CancelItem()
 {
     ExceptionCatcher.ExceptionFinder(() => {
         gridPersonelForm.Visibility = Visibility.Collapsed;
         personalName.Text           = null;
         personelLastname.Text       = null;
         Per_pic_url.Text            = null;
         personelUsername.Text       = null;
         personelPassword.Text       = null;
     });
 }
 static void DRYRunner(CodeBlock block, ExceptionCatcher catcher)
 {
     try
     {
         block.Invoke();
     }
     catch (Exception ex)
     {
         catcher(ex);
     }
 }
Example #33
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AgentTestRunner"/> class.
 /// </summary>
 /// <param name="projects">The storage.</param>
 /// <param name="runnerCache">The cash.</param>
 /// <param name="initializer">The initializer.</param>
 /// <param name="configurationOperator">The configuration operator.</param>
 /// <param name="exceptionCatcher">The exception catcher.</param>
 /// <param name="bootstrapperParameters">The bootstrapper parameters.</param>
 /// <param name="log">The log.</param>
 public AgentTestRunner(
     IProjectsStorage projects,
     INativeRunnerCache runnerCache,
     ITestSystemInitializer initializer,
     IDistributedConfigurationOperator configurationOperator,
     ExceptionCatcher exceptionCatcher,
     BootstrapperParameters bootstrapperParameters,
     ILog log)
 {
     this.projects = projects;
     this.runnerCache = runnerCache;
     this.initializer = initializer;
     this.configurationOperator = configurationOperator;
     this.exceptionCatcher = exceptionCatcher;
     this.log = log;
 }
Example #34
0
        /// <summary>
        /// Initializes a new instance of the <see cref="ServerTestRunner"/> class.
        /// </summary>
        /// <param name="agents">The agents.</param>
        /// <param name="tests">The tests.</param>
        /// <param name="requests">The requests.</param>
        /// <param name="projects">The projects.</param>
        /// <param name="results">The results.</param>
        /// <param name="log">The log.</param>
        /// <param name="testsRetriever">The tests parser.</param>
        /// <param name="configurationOperator">The configuration reader.</param>
        /// <param name="scheduler">The scheduler.</param>
        /// <param name="reprocessor">The reprocessor.</param>
        /// <param name="exceptionCatcher">The exception catcher.</param>
        /// <param name="connectionProvider">The connection provider.</param>
        public ServerTestRunner(AgentsCollection agents,
                                TestUnitsCollection tests,
                                IRequestsStorage requests,
                                IProjectsStorage projects,
                                IResultsStorage results,
                                ILog log,
                                ITestsRetriever testsRetriever,
                                IDistributedConfigurationOperator configurationOperator,
                                ITestsScheduler scheduler,
                                ITestReprocessor reprocessor,
                                ExceptionCatcher exceptionCatcher,
                                IConnectionProvider connectionProvider)
        {
            // Initializing fields
            this.projects = projects;
            this.results = results;
            this.log = log;
            this.testsRetriever = testsRetriever;
            this.configurationOperator = configurationOperator;
            this.scheduler = scheduler;
            this.reprocessor = reprocessor;
            this.exceptionCatcher = exceptionCatcher;
            this.connectionProvider = connectionProvider;
            this.requests = requests;
            this.agents = agents;
            this.tests = tests;

            // Binding to request collection events
            requests.Added += (sender, args) => RunAsynchronously(() => ProcessRequest(args.Data));

            // Binding to agent collection events
            agents.ReadyAgentAppeared += (sender, args) => RunAsynchronously(TryToRunIfAvailable);
            agents.ClientDisconnectedOrFailed += (sender, args) => RunAsynchronously(TryToRunIfAvailable);

            // Binding to test collection events
            tests.AvailableAdded += (sender, args) => RunAsynchronously(TryToRunIfAvailable);
        }
Example #35
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ServerProgram"/> class.
 /// </summary>
 /// <param name="serverHost">The server host.</param>
 /// <param name="bootstrapperParameters">The bootstrapper parameters.</param>
 /// <param name="updatesMonitor">The updates monitor.</param>
 /// <param name="log">The log.</param>
 /// <param name="exceptionCatcher">The exception catcher.</param>
 public ServerProgram(ServerHost serverHost, BootstrapperParameters bootstrapperParameters,
                      UpdatesMonitor updatesMonitor, ILog log, ExceptionCatcher exceptionCatcher)
     : base(updatesMonitor, exceptionCatcher, log, bootstrapperParameters)
 {
     this.serverHost = serverHost;
 }
Example #36
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ClientProgram"/> class.
 /// </summary>
 /// <param name="options">Options, which were provided through command line</param>
 /// <param name="bootstrapperParameters">The bootstrapper parameters.</param>
 /// <param name="client">The client.</param>
 /// <param name="resolver">The resolver.</param>
 /// <param name="catcher">The catcher.</param>
 /// <param name="log">The log.</param>
 public ClientProgram(ClientParameters options, BootstrapperParameters bootstrapperParameters, Client client, AssemblyResolver resolver, ExceptionCatcher catcher, ILog log)
     : base(null, catcher, log, bootstrapperParameters)
 {
     this.options = options;
     this.client = client;
 }