public Message(PlayStationClient client, ThreadEvent message)
        {
            this.Client   = client;
            this._message = message;

            _sender = new Lazy <User>(() => new User(client, _message.MessageEventDetail.Sender.OnlineId));
        }
Exemple #2
0
        public Story(PlayStationClient client, Feed feed)
        {
            this.Client      = client;
            this.Information = feed;

            this._comments = new Lazy <List <Comment> >(() => GetComments());
        }
 public Comment(PlayStationClient client, UserComment comment, Story story)
 {
     this.Client      = client;
     this.Information = comment;
     this._story      = story;
     this._submitter  = new Lazy <User>(() => new User(Client, this.Information.OnlineId));
 }
 public MessageThread(PlayStationClient client, string threadId) : this(client)
 {
     Information = GetThread(threadId);
 }
 public MessageThread(PlayStationClient client, ThreadModel thread) : this(client)
 {
     Information = thread;
 }
 private MessageThread(PlayStationClient client)
 {
     Client    = client;
     _messages = new Lazy <List <Message> >(() => GetMessages());
     _members  = new Lazy <List <User> >(GetMembers);
 }
Exemple #7
0
 public User(PlayStationClient client, string onlineId) : this()
 {
     Init(client, onlineId);
 }
Exemple #8
0
 public User(PlayStationClient client, ProfileModel profile) : this()
 {
     Init(client, profile);
 }
Exemple #9
0
 protected void Init(PlayStationClient client, string onlineId)
 {
     this.Client  = client;
     this.Profile = this.GetInfo(onlineId).Information;
 }
Exemple #10
0
 protected void Init(PlayStationClient client, ProfileModel profile)
 {
     this.Client  = client;
     this.Profile = profile;
 }
Exemple #11
0
 protected void Init(PlayStationClient client)
 {
     this.Client  = client;
     this.Profile = this.GetInfo().Information;
 }
Exemple #12
0
 public Trophy(PlayStationClient client, TrophyTitle trophy)
 {
     Client      = client;
     Information = trophy;
 }
 public Session(PlayStationClient client, SessionModel sessionModel)
 {
     this.Client      = client;
     this.Information = sessionModel;
     this._players    = new Lazy <List <User> >(GetPlayers);
 }