コード例 #1
0
        public EditorWWWWaitUntil(ITransfluentParameters callParams, Action <WebServiceReturnStatus> callback)
        {
            _sw.Start();
            _callParams = callParams;

            _getMyWwwFacade = new WWWFacade();
            //string url = _getMyWwwFacade.encodeGETParams(callParams.getParameters);
            _www = _getMyWwwFacade.request(callParams);

            _callback = callback;
            new EditorWaitUntil(() =>
                                { return(_www.error != null || _www.isDone); },
                                internalCallback
                                );
        }
コード例 #2
0
        public EditorWWWWaitUntil(ITransfluentParameters callParams, Action<WebServiceReturnStatus> callback)
        {
            _sw.Start();
            _callParams = callParams;

            _getMyWwwFacade = new WWWFacade();
            //string url = _getMyWwwFacade.encodeGETParams(callParams.getParameters);
            _www = _getMyWwwFacade.request(callParams);

            _callback = callback;
            new EditorWaitUntil(() =>
            { return _www.error != null || _www.isDone; },
                internalCallback
            );
        }