summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenAuth.AspNet/Clients/OAuth2/WindowsLiveUserData.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/DotNetOpenAuth.AspNet/Clients/OAuth2/WindowsLiveUserData.cs')
-rw-r--r--src/DotNetOpenAuth.AspNet/Clients/OAuth2/WindowsLiveUserData.cs66
1 files changed, 28 insertions, 38 deletions
diff --git a/src/DotNetOpenAuth.AspNet/Clients/OAuth2/WindowsLiveUserData.cs b/src/DotNetOpenAuth.AspNet/Clients/OAuth2/WindowsLiveUserData.cs
index 5c16269..52192c3 100644
--- a/src/DotNetOpenAuth.AspNet/Clients/OAuth2/WindowsLiveUserData.cs
+++ b/src/DotNetOpenAuth.AspNet/Clients/OAuth2/WindowsLiveUserData.cs
@@ -6,71 +6,61 @@
namespace DotNetOpenAuth.AspNet.Clients {
using System;
- using System.Runtime.Serialization;
using System.ComponentModel;
+ using System.Runtime.Serialization;
/// <summary>
/// Contains data of a Windows Live 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.
+ /// 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 WindowsLiveUserData {
- /// <summary>
- /// Gets or sets the id.
- /// </summary>
- /// <value>
- /// The id.
- /// </value>
- [DataMember(Name = "id")]
- public string Id { get; set; }
+ #region Public Properties
/// <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.
+ /// Gets or sets the first name.
/// </summary>
- /// <value>
- /// The link.
- /// </value>
- [DataMember(Name = "link")]
- public Uri Link { get; set; }
+ /// <value> The first name. </value>
+ [DataMember(Name = "first_name")]
+ public string FirstName { get; set; }
/// <summary>
/// Gets or sets the gender.
/// </summary>
- /// <value>
- /// The gender.
- /// </value>
+ /// <value> The gender. </value>
[DataMember(Name = "gender")]
public string Gender { get; set; }
/// <summary>
- /// Gets or sets the first name.
+ /// Gets or sets the id.
/// </summary>
- /// <value>
- /// The first name.
- /// </value>
- [DataMember(Name = "first_name")]
- public string FirstName { get; set; }
+ /// <value> The id. </value>
+ [DataMember(Name = "id")]
+ public string Id { get; set; }
/// <summary>
/// Gets or sets the last name.
/// </summary>
- /// <value>
- /// The last name.
- /// </value>
+ /// <value> The last name. </value>
[DataMember(Name = "last_name")]
public string LastName { 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 name.
+ /// </summary>
+ /// <value> The name. </value>
+ [DataMember(Name = "name")]
+ public string Name { get; set; }
+ #endregion
}
}