Exemplo n.º 1
0
 private void PublishProfileBlockClickEvent(ProfileBlockType blockType)
 {
     EventAggregator.Current.Publish((object)new ProfileBlockClickEvent()
     {
         UserId    = this._userData.Id,
         BlockType = blockType
     });
 }
Exemplo n.º 2
0
 public GenericMediaListItemViewModel(string id, string genericTitle, string genericSubtitle, string iconUri, ProfileBlockType blockType)
     : base(ProfileMediaListItemType.Generic)
 {
     this._id             = id;
     this._blockType      = blockType;
     this.GenericTitle    = genericTitle;
     this.GenericSubtitle = genericSubtitle;
     this.IconUri         = iconUri;
     EventAggregator.Current.Subscribe(this);
 }
 private void PublishProfileBlockClickEvent(ProfileBlockType blockType)
 {
     if (this._isGroup)
     {
         return;
     }
     EventAggregator.Current.Publish(new ProfileBlockClickEvent()
     {
         UserId    = this._profileData.Id,
         BlockType = blockType
     });
 }