ReusableResourceStore<TResource>.Allocate 方法

定义

当某个资源在缓存中不可用时,分配该资源的新实例。

protected:
 abstract TResource Allocate();
protected:
 abstract TResource Allocate();
 abstract TResource Allocate();
protected abstract TResource Allocate ();
abstract member Allocate : unit -> 'Resource
Protected MustOverride Function Allocate () As TResource

返回

TResource

资源的新实例。

适用于