public IFieldPool GetPool(FieldObjType type) { if (!_pools.ContainsKey(type)) { _pools[type] = new FieldObjPool(); } return(_pools[type]); }
public IFieldPool GetPool(FieldObjType type) => Fields.FirstOrDefault()?.GetPool(type);
public IFieldPool GetPool(FieldObjType type) { if (!_pools.ContainsKey(type)) { _pools[type] = new FieldObjPool(); } return(_pools[type]); }
public IFieldPool GetPool(FieldObjType type) => Fields.FirstOrDefault()?.GetPool(type);