private ToxModel() { var tox = new ExtendedTox(new ToxOptions(true, true)) { Name = "User", StatusMessage = "Using OneTox." }; SetCurrent(tox); _semaphore = new SemaphoreSlim(1); _lastConnectionStatusRegistry = new LastConnectionStatusRegistry(); }
public ToxModel() { var tox = new ExtendedTox(new ToxOptions(true, true)) { Name = "User", StatusMessage = "Using OneTox." }; SetCurrent(tox); _semaphore = new SemaphoreSlim(1); _lastConnectionStatusRegistry = new LastConnectionStatusRegistry(); }