void IDataScopedCallback.BeforeExit(AefSession session) { if (session == null) throw new ArgumentNullException(nameof(session)); if (Object.ReferenceEquals(this.AutoSession, session)) { this.AutoSession = null; } }
void IDataScopedCallback.AfterEnter(AefSession session) { if (session == null) throw new ArgumentNullException(nameof(session)); this.AutoSession = session; }