Details | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 1452 | chris | 1 | using System; |
| 2 | using System.Collections.Generic; |
||
| 3 | using System.Text; |
||
| 4 | |||
| 5 | namespace OpenTK |
||
| 6 | { |
||
| 7 | interface IPoolable : IDisposable |
||
| 8 | { |
||
| 9 | void OnAcquire(); |
||
| 10 | void OnRelease(); |
||
| 11 | } |
||
| 12 | |||
| 13 | interface IPoolable<T> : IPoolable where T : IPoolable<T>, new() |
||
| 14 | { |
||
| 15 | ObjectPool<T> Owner { get; set; } |
||
| 16 | } |
||
| 17 | } |