SessionStoreCache Class

 

Maintains a cache of Stores during a T4 user session. Each Store is identified by a key string.

Namespace:   Microsoft.VisualStudio.TextTemplating.Modeling
Assembly:  Microsoft.VisualStudio.TextTemplating.Modeling.12.0 (in Microsoft.VisualStudio.TextTemplating.Modeling.12.0.dll)

System::Object
  Microsoft.VisualStudio.TextTemplating.Modeling::SessionStoreCache

public ref class SessionStoreCache abstract sealed 

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticCacheSessionStore(String^, Store^)

Cache a Store with a given key string.

System_CAPS_pubmethodSystem_CAPS_staticDisposeSessionStoreMap()

Dispose the cache and its Stores.

System_CAPS_pubmethodSystem_CAPS_staticGetSessionStore(String^)

Get the store identified by the given key, or null if the key is not found.

This class supports only one session at a time.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: