Ejemplo n.º 1
0
 /// <summary>
 /// Создан новый элемент в пуле
 /// </summary>
 /// <param name="poolName">Имя пула</param>
 /// <param name="currentElementCount">Текущее число элементов в пуле</param>
 public void ObjectPoolElementCreated(string poolName, int currentElementCount)
 {
     try { _wrappedProvider.ObjectPoolElementCreated(poolName, currentElementCount); }
     catch (Exception ex) { ProcessException(ex); }
 }
Ejemplo n.º 2
0
 internal static void ObjectPoolElementCreated(string poolName, int currentElementCount)
 {
     _profiler?.ObjectPoolElementCreated(poolName, currentElementCount);
 }