¡@

Home 

c# Programming Glossary: iitemstore

C# Object Pooling Pattern implementation

http://stackoverflow.com/questions/2510975/c-sharp-object-pooling-pattern-implementation

T IDisposable Other code we'll come back to this interface IItemStore T Fetch void Store T item int Count get The concept here is.. the Pool it makes the most sense. class QueueStore Queue T IItemStore public QueueStore int capacity base capacity public T Fetch.. void Store T item Enqueue item class StackStore Stack T IItemStore public StackStore int capacity base capacity public T Fetch..