Ejemplo n.º 1
0
        private void TestGetIdFolder(object sender, EventArgs e)
        {
            string FullPath;

            FullPath   = ListFolder.PickRandom().FullPath;
            TxOne.Text = FullPath;
            Stopwatch sw       = Stopwatch.StartNew();
            int       IdFolder = DbSettings.GetIdFolder(FullPath);

            sw.Stop();
            //Print($"{DateTime.Now} ________  Id Folder = {IdFolder}");
            TxTwo.Text = $"{IdFolder} -------- {sw.ElapsedMilliseconds}";
        }
Ejemplo n.º 2
0
 private string GetRandomFolderPath() => ListFolder.PickRandom().FullPath;