ReusableResourceStore<TResource>::CanReuse Method (TResource)

Visual Studio 2015
 

Determines whether an already-cached resource value is safe to reuse when Acquire is called.

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

protected:
virtual bool CanReuse(
	TResource value
)

Parameters

value
Type: TResource

The cached value that is about to be reused during Acquire().

Return Value

Type: System::Boolean

True if the object is in a reusable state, otherwise false.

Return to top
Show: