Exemplo n.º 1
0
        public IEnumerator Refresh()
        {
            void RefreshShowcaseAction(
                EzShowcase showcase
                )
            {
                Showcase = showcase;

                _onGetShowcase.RemoveListener(RefreshShowcaseAction);
                onWatchShowcaseEvent.Invoke(showcase, DisplayItems);
            }

            _onGetShowcase.AddListener(RefreshShowcaseAction);
            yield return(ShowcaseController.GetShowcase(
                             _client,
                             _session,
                             _showcaseNamespaceName,
                             _showcaseName,
                             _onGetShowcase,
                             _onError
                             ));
        }