Beispiel #1
0
 public InfoBarUiElement(InfoBarModel infoBar)
 {
     Validate.IsNotNull(infoBar, nameof(infoBar));
     ViewModel = new InfoBarViewModel(infoBar)
     {
         Owner = this
     };
 }
Beispiel #2
0
 internal InfoBarActionViewModel(InfoBarViewModel owner, IInfoBarTextSpan textSpan) : base(owner, textSpan)
 {
     ClickActionItemCommand = new DelegateCommand(OnClickActionItemCommandExecuted);
 }
Beispiel #3
0
 internal InfoBarTextViewModel(InfoBarViewModel owner, IInfoBarTextSpan textSpan)
 {
     Validate.IsNotNull(textSpan, nameof(textSpan));
     TextSpan = textSpan;
     Owner    = owner;
 }