ReusableResourceStore<TResource>.Allocate Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.