Share via


SessionStoreCache Class

Definition

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

Applies to