Beispiel #1
0
        private ToxModel()
        {
            var tox = new ExtendedTox(new ToxOptions(true, true))
            {
                Name = "User",
                StatusMessage = "Using OneTox."
            };
            SetCurrent(tox);

            _semaphore = new SemaphoreSlim(1);

            _lastConnectionStatusRegistry = new LastConnectionStatusRegistry();
        }
Beispiel #2
0
        public ToxModel()
        {
            var tox = new ExtendedTox(new ToxOptions(true, true))
            {
                Name          = "User",
                StatusMessage = "Using OneTox."
            };

            SetCurrent(tox);

            _semaphore = new SemaphoreSlim(1);

            _lastConnectionStatusRegistry = new LastConnectionStatusRegistry();
        }