示例#1
0
 /// <summary>
 /// Clean up all engines
 /// </summary>
 public virtual void Dispose()
 {
     _disposed = true;
     _pool?.Dispose();
     _pool = null;
 }
示例#2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PooledRenderEngineFactory"/> class.
 /// </summary>
 public PooledRenderEngineFactory(IRenderEnginePool pool)
 {
     _pool = pool;
 }