blob: 80c42b7c56591efa4b06dbab8b22de538b9f6857 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
|
//-----------------------------------------------------------------------
// <copyright file="FacebookGraphData.cs" company="Microsoft">
// Copyright (c) Microsoft. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace DotNetOpenAuth.AspNet.Clients {
using System;
using System.Runtime.Serialization;
using System.ComponentModel;
/// <summary>
/// Contains data of a Facebook user.
/// </summary>
/// <remarks>
/// Technically, this class doesn't need to be public, but because we want to make it serializable
/// in medium trust, it has to be public.
/// </remarks>
[DataContract]
[EditorBrowsable(EditorBrowsableState.Never)]
public class FacebookGraphData {
/// <summary>
/// Gets or sets the id.
/// </summary>
/// <value>
/// The id.
/// </value>
[DataMember(Name = "id")]
public string Id { get; set; }
/// <summary>
/// Gets or sets the email.
/// </summary>
/// <value>
/// The email.
/// </value>
[DataMember(Name = "email")]
public string Email { get; set; }
/// <summary>
/// Gets or sets the name.
/// </summary>
/// <value>
/// The name.
/// </value>
[DataMember(Name = "name")]
public string Name { get; set; }
/// <summary>
/// Gets or sets the link.
/// </summary>
/// <value>
/// The link.
/// </value>
[DataMember(Name = "link")]
public Uri Link { get; set; }
/// <summary>
/// Gets or sets the gender.
/// </summary>
/// <value>
/// The gender.
/// </value>
[DataMember(Name = "gender")]
public string Gender { get; set; }
/// <summary>
/// Gets or sets the birthday.
/// </summary>
/// <value>
/// The birthday.
/// </value>
[DataMember(Name = "birthday")]
public string Birthday { get; set; }
}
}
|