Beispiel #1
0
        private ChoiceData GetChoiceData()
        {
            List <VideoFilterOption> list = new List <VideoFilterOption>();

            for (int i = 0; i < this.Options.Count; i++)
            {
                list.Add(new VideoFilterOption(this.Options[i]));
            }
            ChoiceData result = new ChoiceData(this.Options[0], list, this.Options[0], this.label, this.Id, this.uiType);

            return(result);
        }
Beispiel #2
0
        public void SetupFilters()
        {
            ChoiceData choiceData = this.GetChoiceData();

            Service.Get <EventManager>().SendEvent(EventId.UIVideosQueryFilter, choiceData);
        }