public NotificationInfoWithActor(SocialNotificationData data, NotificationInfoContainer container, PlatformClient client)
     : base(data, container, client)
 {
     _actionLogs = new ObservableCollection<NotificationItemInfo>(
         data.LogItems.Select(dt => new NotificationItemInfo(dt, client)));
     Actor = client.People.InternalGetAndUpdateProfile(data.LogItems.First().Actor);
     ActionLogs = new ReadOnlyObservableCollection<NotificationItemInfo>(_actionLogs);
 }
 public NotificationInfoContainer GetNotifications(bool isReadedItemOnly)
 {
     var container = new NotificationInfoContainer(Client, isReadedItemOnly);
     return container;
 }
 public NotificationInfoWithActivity(ContentNotificationData data, NotificationInfoContainer container, PlatformClient client)
     : base(data, container, client) { Activity = client.Activity.InternalGetAndUpdateActivity(data.Target); }
예제 #4
0
 public NotificationStream(NotificationInfoContainer notificationModel, Account account)
 {
     _notificationModel = notificationModel;
     _account = account;
     _status = StreamStateType.UnLoaded;
     Items = new ObservableCollection<NotificationInfo>();
 }
 public NotificationInfo(NotificationData data, NotificationInfoContainer container, PlatformClient client)
     : base(client)
 {
     _data = data;
     _container = container;
 }