ReusableResourceStore<TResource, TConstructorParameter>::Allocate Method (TConstructorParameter)

Visual Studio 2015
 

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

Namespace:   Microsoft.VisualStudio.Utilities
Assembly:  Microsoft.VisualStudio.Utilities (in Microsoft.VisualStudio.Utilities.dll)

protected:
virtual TResource Allocate(
	TConstructorParameter constructorParameter
) abstract

Parameters

constructorParameter
Type: TConstructorParameter

The type of the constructor parameter.

Return Value

Type: TResource

The resource.

Return to top
Show: