Example #1
0
        public BlockActivityViewModel(BlockActivityData blockActivityData, GuidelinePageViewModel guidelinePageViewModel)
        {
            _guidelinePageViewModel = guidelinePageViewModel;
            BlockActivityData       = blockActivityData;
            Title           = blockActivityData.Title;
            DescriptiveText = blockActivityData.DescriptiveText;
            Activated       = blockActivityData.Activated;
            EntityIconName  = blockActivityData.EntityIconName;

            ActivateCommand = new DelegateCommand(() => Activated = true);
        }
Example #2
0
 public ActionBlockActivityViewModel(BlockActivityData blockActivityData, GuidelinePageViewModel guidelinePageViewModel) : base(blockActivityData, guidelinePageViewModel)
 {
 }