Maintains a cache of Stores during a T4 user session. Each Store is identified by a key string.
Inheritance Hierarchy
System.Object
  Microsoft.VisualStudio.TextTemplating.Modeling.SessionStoreCache
Namespace:  Microsoft.VisualStudio.TextTemplating.Modeling
Assembly:  Microsoft.VisualStudio.TextTemplating.Modeling.12.0 (in Microsoft.VisualStudio.TextTemplating.Modeling.12.0.dll)
Syntax
'Declaration
Public NotInheritable Class SessionStoreCache
public static class SessionStoreCache
public ref class SessionStoreCache abstract sealed
[<AbstractClass>]
[<Sealed>]
type SessionStoreCache =  class end
public final class SessionStoreCache
The SessionStoreCache type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
![]() ![]()  | 
CacheSessionStore | Cache a Store with a given key string. | 
![]() ![]()  | 
DisposeSessionStoreMap | Dispose the cache and its Stores. | 
![]() ![]()  | 
GetSessionStore | Get the store identified by the given key, or null if the key is not found. | 
Top
Remarks
This class supports only one session at a time.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
.gif)
.gif)