Esempio n. 1
0
 public GetFriendsResult([JsonProperty("Result", Required = Required.Always)] bool result,
                         [JsonProperty("Message")] string message, [JsonProperty("Friends")] FriendsJson friends)
 {
     Result  = result;
     Message = message;
     Friends = friends;
 }
Esempio n. 2
0
 public GetPendingFriendsResult([JsonProperty("Result", Required = Required.Always)] bool result,
                                [JsonProperty("Message")] string message, [JsonProperty("PendingFriendsRequest")] FriendsJson pendingFriendsRequest,
                                [JsonProperty("PendingFriendsInvite")] FriendsJson pendingFriendsInvite)
 {
     Result  = result;
     Message = message;
     PendingFriendsRequest = pendingFriendsRequest;
     PendingFriendsInvite  = pendingFriendsInvite;
 }