Exemplo n.º 1
0
 public static SymBotClient initBot(SymConfig config, ISymAuth symBotAuth)
 {
     if (botClient == null)
     {
         botClient = new SymBotClient(config, symBotAuth);
         return(botClient);
     }
     return(botClient);
 }
Exemplo n.º 2
0
 public static SymBotClient initBot(SymConfig config, ISymAuth symBotAuth)
 {
     ServicePointManager.DefaultConnectionLimit = 10;
     if (botClient == null)
     {
         botClient = new SymBotClient(config, symBotAuth);
         return(botClient);
     }
     return(botClient);
 }