/// <summary> /// Initializes a new instance of the <see cref="ContextChangedEventArgs"/> class. /// </summary> /// <param name="pSession">The parent session.</param> /// <param name="pOldContext">The old context.</param> /// <param name="pNewContext">The new context.</param> public ContextChangedEventArgs(IUserCommandSession pSession, IUserCommandContext pOldContext, IUserCommandContext pNewContext) { this.Session = pSession; this.OldContext = pOldContext; this.NewContext = pNewContext; }
/// <summary> /// Initializes a new instance of the <see cref="ContextChangedEventArgs"/> class. /// </summary> /// <param name="pSession">The parent session.</param> /// <param name="pOldSession">The source command.</param> /// <param name="pNewSession">The command progress evaluator.</param> public SessionChangedEventArgs(IUserCommandSession pOldSession, IUserCommandSession pNewSession) { this.OldSession = pOldSession; this.NewSession = pNewSession; }