Share via


ModelBusEnabledTextTransformation.OnSessionChanged Method

Definition

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

Applies to