Compartilhar via


ModelingTextTransformation.OnSessionChanged Method

Definition

Fires whenever a session is provided that isn't the same as the last remembered session.

protected virtual void OnSessionChanged (Microsoft.VisualStudio.TextTemplating.ITextTemplatingSession oldSession, Microsoft.VisualStudio.TextTemplating.ITextTemplatingSession newSession);
abstract member OnSessionChanged : Microsoft.VisualStudio.TextTemplating.ITextTemplatingSession * Microsoft.VisualStudio.TextTemplating.ITextTemplatingSession -> unit
override this.OnSessionChanged : Microsoft.VisualStudio.TextTemplating.ITextTemplatingSession * Microsoft.VisualStudio.TextTemplating.ITextTemplatingSession -> unit
Protected Overridable Sub OnSessionChanged (oldSession As ITextTemplatingSession, newSession As ITextTemplatingSession)

Parameters

Remarks

Null is a valid value for either parameter. Base class implementation is a no-op

Applies to