Пример #1
0
 public static void DisposePool()
 {
     Pool.Dispose();
     Pool = null;
 }
Пример #2
0
 public static void CreatePool(Func <IGraphClient> clientFactory)
 {
     Pool = new GraphClientPool(clientFactory);
 }