SessionStoreCache Class
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.
Class to maintain a cache of Stores per string identifier during a T4 user session
public static class SessionStoreCache
type SessionStoreCache = class
Public Class SessionStoreCache
- Inheritance
-
SessionStoreCache
Remarks
We only support one session at any given time - no concurrency, no reentrancy. Essentially, this is just a well-known dictionary that Disposes of Stores it holds at AppDomain shutdown time.
Methods
CacheSessionStore(String, Store) |
Cache a Store for the given key |
DisposeSessionStoreMap() |
Clear the cache of Stores |
GetSessionStore(String) |
Get a Store for the given key |