public UserizyonClient(IULibBindings bindings) { _tdJsonClient = new UJsonClient(bindings); _tasks = new ConcurrentDictionary <int, Action <UApi.Object> >(); _receiver = new Receiver(_tdJsonClient); _receiver.Received += OnReceived; _receiver.AuthorizationStateChanged += OnAuthorizationStateChanged; _receiver.Start(); }
public UJsonClient(IULibBindings bindings) { Bindings = bindings; _handle = Bindings.ClientCreate(); }