Beispiel #1
0
        public EntranceContext(EntranceContext origin)
        {
            if (null == origin)
            {
                throw new ArgumentNullException(nameof(origin));
            }

            ExtensionManager = origin.ExtensionManager;
            UnityContainer   = origin.UnityContainer;
        }
Beispiel #2
0
 public SessionContext(EntranceContext baseContext, ISession session)
     : base(baseContext)
 {
     Session = session ?? throw new ArgumentNullException(nameof(session));
 }