Esempio n. 1
0
        private void PusherBinding()
        {
            _channel.Bind(String.Format("event-{0}", _apiOtion.UserID), (dynamic data) =>
            {
                Logger.Debug(PusherServiceEvents.PusherBindingSign);

                if (!_signatureService.InProcces)
                {
                    Logger.Information(PusherServiceEvents.PusherBindingSignStart);

                    Task.Run(() =>
                    {
                        _signatureService.StartSign();
                    });
                }
                // Log.Information("Bind na event : event-{0}", option.Data.UserID);
                //this.SingAction();
            });
        }