예제 #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));
        }
예제 #2
0
        public Story(PlayStationClient client, Feed feed)
        {
            this.Client      = client;
            this.Information = feed;

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