コード例 #1
0
        public void Dispose()
        {
            if (_lazySessionFetcher == null)
            {
                return;
            }

            _lazySessionFetcher.Dispose();
            _lazySessionFetcher = null;
        }
コード例 #2
0
 public override void SetUp()
 {
     base.SetUp();
     _lazySessionFetcher = new LazySessionFetcher(SessionFactory);
 }
コード例 #3
0
 void ContextBeginRequest(object sender,
                          EventArgs e)
 {
     _lazySessionFetcher = ObjectFactory.GetInstance <ILazySessionFetcher>();
 }