Partilhar via


ReusableResourceStore<TResource>.Allocate Method

Definition

Allocates a new instance of the resource when one is not available in the cache.

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

Returns

TResource

A new instance of the resource.

Applies to