ModelBusEnabledTextTransformation.OnSessionChanged Method
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.
Fires whenever a session is provided that isn't the same as the last remembered session. Clears the static modelbus instance to prepare for a new snapshot of model files to be read.
protected override void OnSessionChanged (Microsoft.VisualStudio.TextTemplating.ITextTemplatingSession oldSession, Microsoft.VisualStudio.TextTemplating.ITextTemplatingSession newSession);
override this.OnSessionChanged : Microsoft.VisualStudio.TextTemplating.ITextTemplatingSession * Microsoft.VisualStudio.TextTemplating.ITextTemplatingSession -> unit
Protected Overrides Sub OnSessionChanged (oldSession As ITextTemplatingSession, newSession As ITextTemplatingSession)
Parameters
- oldSession
- ITextTemplatingSession
- newSession
- ITextTemplatingSession