Exemple #1
0
        public void InitTest()
        {
#if NETFRAMEWORK
            var manager = new MiniSessionManager();
            Assert.IsNotNull(manager.InstanceId);

            manager = MiniSessionManager.Create();
            Assert.IsNotNull(manager.InstanceId);

            manager.WillFlush = false;
            Assert.IsFalse(manager.WillFlush);

            Assert.IsNull(manager.SingleUseSession);
            manager.SingleUseSession = false;
            Assert.IsFalse(manager.SingleUseSession.Value);
#endif
        }