ReusableResourceStoreBase<TResource> Class
Provides a base class for storing a frequently-used object that can be reused instead of reallocated, such as StringBuilders or small arrays.
Assembly: Microsoft.VisualStudio.Utilities (in Microsoft.VisualStudio.Utilities.dll)
Microsoft.VisualStudio.Utilities.ReusableResourceStoreBase<TResource>
Microsoft.VisualStudio.Utilities.ReusableResourceStore<TResource>
Microsoft.VisualStudio.Utilities.ReusableResourceStore<TResource, TConstructorParameter>
| Name | Description | |
|---|---|---|
![]() | ReusableResourceStoreBase<TResource>() | Initializes a new instance of ReusableResourceStoreBase. |
| Name | Description | |
|---|---|---|
![]() | AcquireCore() | Gets access to the resource stored by this object, and removes the resource so that subsequent callers cannot be handed the same resource at the same time. |
![]() | Cleanup(TResource) | Immediately before releasing an object, performs cleanup on that object. This might be necessary to clean up state stored in the object to prevent leaking memory. |
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | ToString() | (Inherited from Object.) |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

