public virtual IEngine GetTurboEngine(int size) { IEngine e = null; bool found = turboEnginePool.TryGetValue(size, out e); if (!found) { e = new TurboEngine(size); turboEnginePool[size] = e; } return e; }
public virtual IEngine GetTurboEngine(int size) { IEngine e = null; bool found = turboEnginePool.TryGetValue(size, out e); if (!found) { e = new TurboEngine(size); turboEnginePool[size] = e; } return(e); }