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