Exemple #1
0
    public override void OnRequest()
    {
        Dispose();

        var manager = DeepBindManager.Instance;

        deepBinder = manager.Request(trueRequestText);
        handle     = deepBinder.Subscribe(onChange);
        onChange(deepBinder.Value);
    }
Exemple #2
0
        public object GetRequestResult(string request)
        {
            if (_tmp == null)
            {
                _tmp = new DeepBindVarable("", bindingManager);
            }
            _tmp.SetReuest(request);
            object result = _tmp.Value;

            _tmp.Dispose();
            return(result);
        }
Exemple #3
0
        public DeepBindVarable Request(string request)
        {
            DeepBindVarable result = new DeepBindVarable(request, bindingManager);

            return(result);
        }