Пример #1
0
            internal BasicReplBackend(ReplProcessor replProcessor, JSession jSession, string locale)
                : base(replProcessor, jSession)
            {
                this._executeItemLocker = new object();

                if (null != locale && string.Empty != locale.Trim())
                {
                    this._jSession.Do(string.Format("18!:4 <'{0}'", locale));
                }
                this._executeItemLock = new ExecuteItemLock(this); // lock starts acquired (we use it like manual reset event)
            }
Пример #2
0
            internal BasicReplBackend(ReplProcessor replProcessor, JSession jSession, string locale)
                : base(replProcessor, jSession)
            {
                this._executeItemLocker = new object();

                if (null != locale && string.Empty != locale.Trim())
                {
                    this._jSession.Do(string.Format("18!:4 <'{0}'", locale));
                }
                this._executeItemLock = new ExecuteItemLock(this); // lock starts acquired (we use it like manual reset event)
            }