/// <summary> /// Registers the pool instance. /// </summary> /// <param name="pool"> /// Pool. /// <para>Can't be <see langword="null"/>.</para> /// </param> public static void Register(IPool pool) { pool.EnsureNotNull(nameof(pool)); // __RegisteredPools.Register(disposable: pool); }