示例#1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Resource{T}"/> class
 /// </summary>
 /// <param name="data">resource data</param>
 /// <param name="pool">current resource pool</param>
 internal Resource(T data, ResourcePool <T> pool)
 {
     this.Data        = data;
     this.currentPool = pool;
 }