コード例 #1
0
 /// <summary>
 /// Sets the BatchID to the first 10 characters of a guid.
 /// </summary>
 public static void ClassInitialize(SeleniumPool pool, LogRepoOptions repoOptions)
 {
     RepoOptions      = repoOptions;
     SeleniumPoolInst = pool;
     canDisposeOfPool = false;
     BatchID          = Guid.NewGuid().ToString("n").Substring(0, 10);
 }
コード例 #2
0
 /// <summary>
 /// Sets the BatchID to the first 10 characters of a guid.
 /// </summary>
 public static void ClassInitialize(SeleniumPoolOptions poolOptions, LogRepoOptions repoOptions)
 {
     RepoOptions      = repoOptions;
     SeleniumPoolInst = SeleniumPoolFactory.GetPool(poolOptions);
     canDisposeOfPool = true;
     BatchID          = Guid.NewGuid().ToString("n").Substring(0, 10);
 }