Ejemplo n.º 1
0
        public Message(PlayStationClient client, ThreadEvent message)
        {
            this.Client   = client;
            this._message = message;

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

            this._comments = new Lazy <List <Comment> >(() => GetComments());
        }
Ejemplo n.º 3
0
 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));
 }
Ejemplo n.º 4
0
 public MessageThread(PlayStationClient client, string threadId) : this(client)
 {
     Information = GetThread(threadId);
 }
Ejemplo n.º 5
0
 public MessageThread(PlayStationClient client, ThreadModel thread) : this(client)
 {
     Information = thread;
 }
Ejemplo n.º 6
0
 private MessageThread(PlayStationClient client)
 {
     Client    = client;
     _messages = new Lazy <List <Message> >(() => GetMessages());
     _members  = new Lazy <List <User> >(GetMembers);
 }
Ejemplo n.º 7
0
 public User(PlayStationClient client, string onlineId) : this()
 {
     Init(client, onlineId);
 }
Ejemplo n.º 8
0
 public User(PlayStationClient client, ProfileModel profile) : this()
 {
     Init(client, profile);
 }
Ejemplo n.º 9
0
 protected void Init(PlayStationClient client, string onlineId)
 {
     this.Client  = client;
     this.Profile = this.GetInfo(onlineId).Information;
 }
Ejemplo n.º 10
0
 protected void Init(PlayStationClient client, ProfileModel profile)
 {
     this.Client  = client;
     this.Profile = profile;
 }
Ejemplo n.º 11
0
 protected void Init(PlayStationClient client)
 {
     this.Client  = client;
     this.Profile = this.GetInfo().Information;
 }
Ejemplo n.º 12
0
 public Trophy(PlayStationClient client, TrophyTitle trophy)
 {
     Client      = client;
     Information = trophy;
 }
Ejemplo n.º 13
0
 public Session(PlayStationClient client, SessionModel sessionModel)
 {
     this.Client      = client;
     this.Information = sessionModel;
     this._players    = new Lazy <List <User> >(GetPlayers);
 }