コード例 #1
0
        protected override void OnInitialized()
        {
            _jsService          = JsServiceFactory.Create(this);
            SkillBaseAttributes = EnumConverter <SkillBaseAttributes> .GetDescriptions().Select(d => new GenericDataListItem(d));

            SkillDifficulties = EnumConverter <SkillDifficulties> .GetDescriptions().Select(d => new GenericDataListItem(d));

            EventBus.OnSkillSelected += SelectedSkillChanged;
            base.OnInitialized();
        }
コード例 #2
0
 protected override void OnInitialized()
 {
     _jsService = JsServiceFactory.Create(this);
     EventBus.OnItemSelected += SelectedItemChanged;
     base.OnInitialized();
 }