/// <summary> /// Creates a new item using the instantiator delegate. /// </summary> private T CreateObject() { TotalCount++; var obj = instantiator.Invoke(); obj.Recycler = this; return(obj); }