public GitSrv(IHttpClientFactory clifact, IGitParm parm)
 {
     try
     {
         htt = new HttpRqActions(clifact);
         htt.HClient.DefaultRequestHeaders.UserAgent.Add(new ProductInfoHeaderValue("TestGitCommit", "1"));
         this.parm = parm;
         ShowHist  = ShowHistCommit;
     }
     catch (Exception)
     {
         throw;
     }
 }
Esempio n. 2
0
 public PokSrv(IHttpClientFactory clifact)
 {
     try
     {
         htt           = new HttpRqActions(clifact);
         ShowPok       = ShowPksFromProv;
         FilterPoks    = FilterPksFromProv;
         FilterOptPoks = FilterPksFromProv;
     }
     catch (Exception)
     {
         throw;
     }
 }