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

            this.AutoSession = session;
        }