summaryrefslogtreecommitdiffstats
path: root/samples/DotNetOpenAuth.ApplicationBlock
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2013-05-26 08:05:05 -0700
committerAndrew Arnott <andrewarnott@gmail.com>2013-05-26 08:05:05 -0700
commit41fd4b0f54b8080471e35822b0d8cccd7f621b3b (patch)
tree974617c64a945ad84190271881a8c49fa8efe4c4 /samples/DotNetOpenAuth.ApplicationBlock
parent2a4da5e544a22d30d5b54a2696194d814d9a442f (diff)
downloadDotNetOpenAuth-41fd4b0f54b8080471e35822b0d8cccd7f621b3b.zip
DotNetOpenAuth-41fd4b0f54b8080471e35822b0d8cccd7f621b3b.tar.gz
DotNetOpenAuth-41fd4b0f54b8080471e35822b0d8cccd7f621b3b.tar.bz2
Fixes StyleCop messages.
Diffstat (limited to 'samples/DotNetOpenAuth.ApplicationBlock')
-rw-r--r--samples/DotNetOpenAuth.ApplicationBlock/OAuth2/Facebook/FacebookGraph.cs54
-rw-r--r--samples/DotNetOpenAuth.ApplicationBlock/OAuth2/Google/GoogleClient.cs7
-rw-r--r--samples/DotNetOpenAuth.ApplicationBlock/OAuth2/Google/GoogleGraph.cs20
-rw-r--r--samples/DotNetOpenAuth.ApplicationBlock/OAuth2/IOAuth2Graph.cs22
-rw-r--r--samples/DotNetOpenAuth.ApplicationBlock/OAuth2/WindowsLive/WindowsLiveClient.cs1
-rw-r--r--samples/DotNetOpenAuth.ApplicationBlock/OAuth2/WindowsLive/WindowsLiveGraph.cs70
6 files changed, 97 insertions, 77 deletions
diff --git a/samples/DotNetOpenAuth.ApplicationBlock/OAuth2/Facebook/FacebookGraph.cs b/samples/DotNetOpenAuth.ApplicationBlock/OAuth2/Facebook/FacebookGraph.cs
index 0c8bb4d..a62b410 100644
--- a/samples/DotNetOpenAuth.ApplicationBlock/OAuth2/Facebook/FacebookGraph.cs
+++ b/samples/DotNetOpenAuth.ApplicationBlock/OAuth2/Facebook/FacebookGraph.cs
@@ -21,61 +21,61 @@ namespace DotNetOpenAuth.ApplicationBlock {
private static DataContractJsonSerializer jsonSerializer = new DataContractJsonSerializer(typeof(FacebookGraph));
/// <summary>
- /// Gets the user's Facebook ID
+ /// Gets or sets the user's Facebook ID
/// </summary>
[DataMember(Name = "id")]
public string Id { get; set; }
/// <summary>
- /// Gets the user's full name
+ /// Gets or sets the user's full name
/// </summary>
[DataMember(Name = "name")]
public string Name { get; set; }
/// <summary>
- /// Gets the user's first name
+ /// Gets or sets the user's first name
/// </summary>
[DataMember(Name = "first_name")]
public string FirstName { get; set; }
/// <summary>
- /// The user's middle name
+ /// Gets or sets the user's middle name
/// </summary>
[DataMember(Name = "middle_name")]
public string MiddleName { get; set; }
/// <summary>
- /// The user's last name
+ /// Gets or sets the user's last name
/// </summary>
[DataMember(Name = "last_name")]
public string LastName { get; set; }
/// <summary>
- /// The user's gender: female or male
+ /// Gets or sets the user's gender: female or male
/// </summary>
[DataMember(Name = "gender")]
public string Gender { get; set; }
/// <summary>
- /// The user's locale
+ /// Gets or sets the user's locale
/// </summary>
[DataMember(Name = "locale")]
public string Locale { get; set; }
/// <summary>
- /// The user's languages
+ /// Gets or sets the user's languages
/// </summary>
[DataMember(Name = "languages")]
public FacebookIdName[] Languages { get; set; }
/// <summary>
- /// The URL of the profile for the user on Facebook
+ /// Gets or sets the URL of the profile for the user on Facebook
/// </summary>
[DataMember(Name = "link")]
public Uri Link { get; set; }
/// <summary>
- /// The user's Facebook username
+ /// Gets or sets the user's Facebook username
/// </summary>
[DataMember(Name = "username")]
public string Username { get; set; }
@@ -87,13 +87,13 @@ namespace DotNetOpenAuth.ApplicationBlock {
// installed
/// <summary>
- /// The user's timezone offset from UTC
+ /// Gets or sets the user's timezone offset from UTC
/// </summary>
[DataMember(Name = "timezone")]
public int? Timezone { get; set; }
/// <summary>
- /// The last time the user's profile was updated; changes to the languages, link, timezone, verified, interested_in, favorite_athletes, favorite_teams, and video_upload_limits are not not reflected in this value
+ /// Gets or sets the last time the user's profile was updated; changes to the languages, link, timezone, verified, interested_in, favorite_athletes, favorite_teams, and video_upload_limits are not not reflected in this value
/// string containing an ISO-8601 datetime
/// </summary>
[DataMember(Name = "updated_time")]
@@ -104,7 +104,7 @@ namespace DotNetOpenAuth.ApplicationBlock {
// bio
/// <summary>
- /// The user's birthday
+ /// Gets or sets the user's birthday
/// Date string in MM/DD/YYYY format
/// </summary>
[DataMember(Name = "birthday")]
@@ -123,31 +123,31 @@ namespace DotNetOpenAuth.ApplicationBlock {
// education
/// <summary>
- /// The proxied or contact email address granted by the user
+ /// Gets or sets the proxied or contact email address granted by the user
/// </summary>
[DataMember(Name = "email")]
public string Email { get; set; }
/// <summary>
- /// The user's hometown
+ /// Gets or sets the user's hometown
/// </summary>
[DataMember(Name = "hometown")]
public FacebookIdName Hometown { get; set; }
/// <summary>
- /// The genders the user is interested in
+ /// Gets or sets the genders the user is interested in
/// </summary>
[DataMember(Name = "interested_in")]
public string[] InterestedIn { get; set; }
/// <summary>
- /// The user's current city
+ /// Gets or sets the user's current city
/// </summary>
[DataMember(Name = "location")]
public FacebookIdName Location { get; set; }
/// <summary>
- /// The user's political view
+ /// Gets or sets the user's political view
/// </summary>
[DataMember(Name = "political")]
public string Political { get; set; }
@@ -155,40 +155,40 @@ namespace DotNetOpenAuth.ApplicationBlock {
// payment_pricepoints
/// <summary>
- /// The user's favorite athletes; this field is deprecated and will be removed in the near future
+ /// Gets or sets the user's favorite athletes; this field is deprecated and will be removed in the near future
/// </summary>
[Obsolete]
[DataMember(Name = "favorite_athletes")]
public FacebookIdName[] FavoriteAthletes { get; set; }
/// <summary>
- /// The user's favorite teams; this field is deprecated and will be removed in the near future
+ /// Gets or sets the user's favorite teams; this field is deprecated and will be removed in the near future
/// </summary>
[Obsolete]
[DataMember(Name = "favorite_teams")]
public FacebookIdName[] FavoriteTeams { get; set; }
/// <summary>
- /// The URL of the user's profile pic (only returned if you explicitly specify a 'fields=picture' param)
+ /// Gets or sets the URL of the user's profile pic (only returned if you explicitly specify a 'fields=picture' param)
/// If the "October 2012 Breaking Changes" migration setting is enabled for your app, this field will be an object with the url and is_silhouette fields; is_silhouette is true if the user has not uploaded a profile picture
/// </summary>
[DataMember(Name = "picture")]
public FacebookPicture Picture { get; set; }
/// <summary>
- /// The user's favorite quotes
+ /// Gets or sets the user's favorite quotes
/// </summary>
[DataMember(Name = "quotes")]
public Uri Quotes { get; set; }
/// <summary>
- /// The user's relationship status: Single, In a relationship, Engaged, Married, It's complicated, In an open relationship, Widowed, Separated, Divorced, In a civil union, In a domestic partnership
+ /// Gets or sets the user's relationship status: Single, In a relationship, Engaged, Married, It's complicated, In an open relationship, Widowed, Separated, Divorced, In a civil union, In a domestic partnership
/// </summary>
[DataMember(Name = "relationship_status")]
public string RelationshipStatus { get; set; }
/// <summary>
- /// The user's religion
+ /// Gets or sets the user's religion
/// </summary>
[DataMember(Name = "religion")]
public string Religion { get; set; }
@@ -196,7 +196,7 @@ namespace DotNetOpenAuth.ApplicationBlock {
// security_settings
/// <summary>
- /// The user's significant other
+ /// Gets or sets the user's significant other
/// </summary>
[DataMember(Name = "significant_other")]
public FacebookIdName SignificantOther { get; set; }
@@ -204,13 +204,11 @@ namespace DotNetOpenAuth.ApplicationBlock {
// video_upload_limits
/// <summary>
- /// The URL of the user's personal website
+ /// Gets or sets the URL of the user's personal website
/// </summary>
[DataMember(Name = "website")]
public Uri Website { get; set; }
- // work
-
public DateTime? BirthdayDT {
get {
if (!string.IsNullOrEmpty(this.Birthday) && (this.Locale != null)) {
diff --git a/samples/DotNetOpenAuth.ApplicationBlock/OAuth2/Google/GoogleClient.cs b/samples/DotNetOpenAuth.ApplicationBlock/OAuth2/Google/GoogleClient.cs
index c623d2f..1e1a486 100644
--- a/samples/DotNetOpenAuth.ApplicationBlock/OAuth2/Google/GoogleClient.cs
+++ b/samples/DotNetOpenAuth.ApplicationBlock/OAuth2/Google/GoogleClient.cs
@@ -57,6 +57,11 @@ namespace DotNetOpenAuth.ApplicationBlock {
/// https://developers.google.com/accounts/docs/OAuth2Login
/// </remarks>
public static class Scopes {
+ public const string PlusMe = "https://www.googleapis.com/auth/plus.me";
+
+ /// <summary>
+ /// Scopes that cover queries for user data.
+ /// </summary>
public static class UserInfo {
/// <summary>
/// Gain read-only access to basic profile information, including a user identifier, name, profile photo, profile URL, country, language, timezone, and birthdate.
@@ -69,8 +74,6 @@ namespace DotNetOpenAuth.ApplicationBlock {
public const string Email = "https://www.googleapis.com/auth/userinfo.email";
}
- public const string PlusMe = "https://www.googleapis.com/auth/plus.me";
-
public static class Drive {
/// <summary>
/// Full, permissive scope to access all of a user's files. Request this scope only when it is strictly necessary.
diff --git a/samples/DotNetOpenAuth.ApplicationBlock/OAuth2/Google/GoogleGraph.cs b/samples/DotNetOpenAuth.ApplicationBlock/OAuth2/Google/GoogleGraph.cs
index 69cfb22..44adcaf 100644
--- a/samples/DotNetOpenAuth.ApplicationBlock/OAuth2/Google/GoogleGraph.cs
+++ b/samples/DotNetOpenAuth.ApplicationBlock/OAuth2/Google/GoogleGraph.cs
@@ -20,61 +20,61 @@ namespace DotNetOpenAuth.ApplicationBlock {
private static DataContractJsonSerializer jsonSerializer = new DataContractJsonSerializer(typeof(GoogleGraph));
/// <summary>
- /// Gets the value of this field is an immutable identifier for the logged-in user, and may be used when creating and managing user sessions in your application. This identifier is the same regardless of the client_id. This provides the ability to correlate profile information across multiple applications in the same organization. The value of this field is the same as the value of the userid field returned by the TokenInfo endpoint.
+ /// Gets or sets the value of this field is an immutable identifier for the logged-in user, and may be used when creating and managing user sessions in your application. This identifier is the same regardless of the client_id. This provides the ability to correlate profile information across multiple applications in the same organization. The value of this field is the same as the value of the userid field returned by the TokenInfo endpoint.
/// </summary>
[DataMember(Name = "id", IsRequired = true)]
public string Id { get; set; }
/// <summary>
- /// Gets the email address of the logged in user
+ /// Gets or sets the email address of the logged in user
/// </summary>
[DataMember(Name = "email")]
public string Email { get; set; }
/// <summary>
- /// Gets a flag that indicates whether or not Google has been able to verify the email address.
+ /// Gets or sets a flag that indicates whether or not Google has been able to verify the email address.
/// </summary>
[DataMember(Name = "verified_email")]
public bool? VerifiedEmail { get; set; }
/// <summary>
- /// Gets the full name of the logged in user
+ /// Gets or sets the full name of the logged in user
/// </summary>
[DataMember(Name = "name", IsRequired = true)]
public string Name { get; set; }
/// <summary>
- /// Gets the first name of the logged in user
+ /// Gets or sets the first name of the logged in user
/// </summary>
[DataMember(Name = "given_name")]
public string GivenName { get; set; }
/// <summary>
- /// Gets the last name of the logged in user
+ /// Gets or sets the last name of the logged in user
/// </summary>
[DataMember(Name = "family_name")]
public string FamilyName { get; set; }
/// <summary>
- /// Gets the URL to the user's profile picture. If the user has no public profile, this field is not included.
+ /// Gets or sets the URL to the user's profile picture. If the user has no public profile, this field is not included.
/// </summary>
[DataMember(Name = "picture")]
public Uri Picture { get; set; }
/// <summary>
- /// Gets the user's registered locale. If the user has no public profile, this field is not included.
+ /// Gets or sets the user's registered locale. If the user has no public profile, this field is not included.
/// </summary>
[DataMember(Name = "locale")]
public string Locale { get; set; }
/// <summary>
- /// Gets the default timezone of the logged in user
+ /// Gets or sets the default timezone of the logged in user
/// </summary>
[DataMember(Name = "timezone")]
public string Timezone { get; set; }
/// <summary>
- /// Gets the gender of the logged in user (other|female|male)
+ /// Gets or sets the gender of the logged in user (other|female|male)
/// </summary>
[DataMember(Name = "gender")]
public string Gender { get; set; }
diff --git a/samples/DotNetOpenAuth.ApplicationBlock/OAuth2/IOAuth2Graph.cs b/samples/DotNetOpenAuth.ApplicationBlock/OAuth2/IOAuth2Graph.cs
index 925c616..b479cc0 100644
--- a/samples/DotNetOpenAuth.ApplicationBlock/OAuth2/IOAuth2Graph.cs
+++ b/samples/DotNetOpenAuth.ApplicationBlock/OAuth2/IOAuth2Graph.cs
@@ -4,7 +4,27 @@
using System.Linq;
using System.Text;
- public enum HumanGender { Unknown, Male, Female, Other }
+ public enum HumanGender {
+ /// <summary>
+ /// The gender is unknown.
+ /// </summary>
+ Unknown,
+
+ /// <summary>
+ /// The gender is male.
+ /// </summary>
+ Male,
+
+ /// <summary>
+ /// The gender is female.
+ /// </summary>
+ Female,
+
+ /// <summary>
+ /// Hmmmm... What could this be?
+ /// </summary>
+ Other,
+ }
public interface IOAuth2Graph {
string Id { get; }
diff --git a/samples/DotNetOpenAuth.ApplicationBlock/OAuth2/WindowsLive/WindowsLiveClient.cs b/samples/DotNetOpenAuth.ApplicationBlock/OAuth2/WindowsLive/WindowsLiveClient.cs
index 24322af..7f7af18 100644
--- a/samples/DotNetOpenAuth.ApplicationBlock/OAuth2/WindowsLive/WindowsLiveClient.cs
+++ b/samples/DotNetOpenAuth.ApplicationBlock/OAuth2/WindowsLive/WindowsLiveClient.cs
@@ -45,7 +45,6 @@ namespace DotNetOpenAuth.ApplicationBlock {
// &type=small 96x96
// &type=medium 96x96
// &type=large 448x448
-
windowsLiveGraph.AvatarUrl = new Uri("https://apis.live.net/v5.0/me/picture?access_token=" + Uri.EscapeDataString(authState.AccessToken));
return windowsLiveGraph;
diff --git a/samples/DotNetOpenAuth.ApplicationBlock/OAuth2/WindowsLive/WindowsLiveGraph.cs b/samples/DotNetOpenAuth.ApplicationBlock/OAuth2/WindowsLive/WindowsLiveGraph.cs
index 38095a5..8b4e1f8 100644
--- a/samples/DotNetOpenAuth.ApplicationBlock/OAuth2/WindowsLive/WindowsLiveGraph.cs
+++ b/samples/DotNetOpenAuth.ApplicationBlock/OAuth2/WindowsLive/WindowsLiveGraph.cs
@@ -20,91 +20,91 @@ namespace DotNetOpenAuth.ApplicationBlock {
private static DataContractJsonSerializer jsonSerializer = new DataContractJsonSerializer(typeof(WindowsLiveGraph));
/// <summary>
- /// The user's ID.
+ /// Gets or sets the user's ID.
/// </summary>
[DataMember(Name = "id", IsRequired = true)]
public string Id { get; set; }
/// <summary>
- /// The user's full name.
+ /// Gets or sets the user's full name.
/// </summary>
[DataMember(Name = "name", IsRequired = true)]
public string Name { get; set; }
/// <summary>
- /// The user's first name.
+ /// Gets or sets the user's first name.
/// </summary>
[DataMember(Name = "first_name")]
public string FirstName { get; set; }
/// <summary>
- /// The user's last name.
+ /// Gets or sets the user's last name.
/// </summary>
[DataMember(Name = "last_name")]
public string LastName { get; set; }
/// <summary>
- /// The URL of the user's profile page.
+ /// Gets or sets the URL of the user's profile page.
/// </summary>
[DataMember(Name = "link")]
public Uri Link { get; set; }
/// <summary>
- /// The day of the user's birth date, or null if no birth date is specified.
+ /// Gets or sets the day of the user's birth date, or null if no birth date is specified.
/// </summary>
[DataMember(Name = "birth_day")]
public int? BirthDay { get; set; }
/// <summary>
- /// The month of the user's birth date, or null if no birth date is specified.
+ /// Gets or sets the month of the user's birth date, or null if no birth date is specified.
/// </summary>
[DataMember(Name = "birth_month")]
public int? BirthMonth { get; set; }
/// <summary>
- /// The year of the user's birth date, or null if no birth date is specified.
+ /// Gets or sets the year of the user's birth date, or null if no birth date is specified.
/// </summary>
[DataMember(Name = "birth_year")]
public int? BirthYear { get; set; }
/// <summary>
- /// An array that contains the user's work info.
+ /// Gets or sets an array that contains the user's work info.
/// </summary>
[DataMember(Name = "work")]
public WindowsLiveWorkProfile[] Work { get; set; }
/// <summary>
- /// The user's gender. Valid values are "male", "female", or null if the user's gender is not specified.
+ /// Gets or sets the user's gender. Valid values are "male", "female", or null if the user's gender is not specified.
/// </summary>
[DataMember(Name = "gender")]
public string Gender { get; set; }
/// <summary>
- /// The user's email addresses.
+ /// Gets or sets the user's email addresses.
/// </summary>
[DataMember(Name = "emails")]
public WindowsLiveEmails Emails { get; set; }
/// <summary>
- /// The user's postal addresses.
+ /// Gets or sets the user's postal addresses.
/// </summary>
[DataMember(Name = "addresses")]
public WindowsLiveAddresses Addresses { get; set; }
/// <summary>
- /// The user's phone numbers.
+ /// Gets or sets the user's phone numbers.
/// </summary>
[DataMember(Name = "phones")]
public WindowsLivePhones Phones { get; set; }
/// <summary>
- /// The user's locale code.
+ /// Gets or sets the user's locale code.
/// </summary>
[DataMember(Name = "locale", IsRequired = true)]
public string Locale { get; set; }
/// <summary>
- /// The time, in ISO 8601 format, at which the user last updated the object.
+ /// Gets or sets the time, in ISO 8601 format, at which the user last updated the object.
/// </summary>
[DataMember(Name = "updated_time")]
public string UpdatedTime { get; set; }
@@ -158,31 +158,31 @@ namespace DotNetOpenAuth.ApplicationBlock {
[DataContract]
public class WindowsLiveEmails {
/// <summary>
- /// The user's preferred email address, or null if one is not specified.
+ /// Gets or sets the user's preferred email address, or null if one is not specified.
/// </summary>
[DataMember(Name = "preferred")]
public string Preferred { get; set; }
/// <summary>
- /// The email address that is associated with the account.
+ /// Gets or sets the email address that is associated with the account.
/// </summary>
[DataMember(Name = "account", IsRequired = true)]
public string Account { get; set; }
/// <summary>
- /// The user's personal email address, or null if one is not specified.
+ /// Gets or sets the user's personal email address, or null if one is not specified.
/// </summary>
[DataMember(Name = "personal")]
public string Personal { get; set; }
/// <summary>
- /// The user's business email address, or null if one is not specified.
+ /// Gets or sets the user's business email address, or null if one is not specified.
/// </summary>
[DataMember(Name = "business")]
public string Business { get; set; }
/// <summary>
- /// The user's "alternate" email address, or null if one is not specified.
+ /// Gets or sets the user's "alternate" email address, or null if one is not specified.
/// </summary>
[DataMember(Name = "other")]
public string Other { get; set; }
@@ -191,19 +191,19 @@ namespace DotNetOpenAuth.ApplicationBlock {
[DataContract]
public class WindowsLivePhones {
/// <summary>
- /// The user's personal phone number, or null if one is not specified.
+ /// Gets or sets the user's personal phone number, or null if one is not specified.
/// </summary>
[DataMember(Name = "personal")]
public string Personal { get; set; }
/// <summary>
- /// The user's business phone number, or null if one is not specified.
+ /// Gets or sets the user's business phone number, or null if one is not specified.
/// </summary>
[DataMember(Name = "business")]
public string Business { get; set; }
/// <summary>
- /// The user's mobile phone number, or null if one is not specified.
+ /// Gets or sets the user's mobile phone number, or null if one is not specified.
/// </summary>
[DataMember(Name = "mobile")]
public string Mobile { get; set; }
@@ -212,37 +212,37 @@ namespace DotNetOpenAuth.ApplicationBlock {
[DataContract]
public class WindowsLiveAddress {
/// <summary>
- /// The street address, or null if one is not specified.
+ /// Gets or sets the street address, or null if one is not specified.
/// </summary>
[DataMember(Name = "street")]
public string Street { get; set; }
/// <summary>
- /// The second line of the street address, or null if one is not specified.
+ /// Gets or sets the second line of the street address, or null if one is not specified.
/// </summary>
[DataMember(Name = "street_2")]
public string Street2 { get; set; }
/// <summary>
- /// The city of the address, or null if one is not specified.
+ /// Gets or sets the city of the address, or null if one is not specified.
/// </summary>
[DataMember(Name = "city")]
public string City { get; set; }
/// <summary>
- /// The state of the address, or null if one is not specified.
+ /// Gets or sets the state of the address, or null if one is not specified.
/// </summary>
[DataMember(Name = "state")]
public string State { get; set; }
/// <summary>
- /// The postal code of the address, or null if one is not specified.
+ /// Gets or sets the postal code of the address, or null if one is not specified.
/// </summary>
[DataMember(Name = "postal_code")]
public string PostalCode { get; set; }
/// <summary>
- /// The region of the address, or null if one is not specified.
+ /// Gets or sets the region of the address, or null if one is not specified.
/// </summary>
[DataMember(Name = "region")]
public string Region { get; set; }
@@ -251,13 +251,13 @@ namespace DotNetOpenAuth.ApplicationBlock {
[DataContract]
public class WindowsLiveAddresses {
/// <summary>
- /// The user's personal postal address.
+ /// Gets or sets the user's personal postal address.
/// </summary>
[DataMember(Name = "personal")]
public WindowsLiveAddress Personal { get; set; }
/// <summary>
- /// The user's business postal address.
+ /// Gets or sets the user's business postal address.
/// </summary>
[DataMember(Name = "business")]
public WindowsLiveAddress Business { get; set; }
@@ -266,13 +266,13 @@ namespace DotNetOpenAuth.ApplicationBlock {
[DataContract]
public class WindowsLiveWorkProfile {
/// <summary>
- /// Info about the user's employer.
+ /// Gets or sets info about the user's employer.
/// </summary>
[DataMember(Name = "employer")]
public WindowsLiveEmployer Employer { get; set; }
/// <summary>
- /// Info about the user's employer.
+ /// Gets or sets info about the user's employer.
/// </summary>
[DataMember(Name = "position")]
public WindowsLivePosition Position { get; set; }
@@ -281,7 +281,7 @@ namespace DotNetOpenAuth.ApplicationBlock {
[DataContract]
public class WindowsLiveEmployer {
/// <summary>
- /// The name of the user's employer, or null if the employer's name is not specified.
+ /// Gets or sets the name of the user's employer, or null if the employer's name is not specified.
/// </summary>
[DataMember(Name = "name")]
public string Name { get; set; }
@@ -290,7 +290,7 @@ namespace DotNetOpenAuth.ApplicationBlock {
[DataContract]
public class WindowsLivePosition {
/// <summary>
- /// The name of the user's work position, or null if the name of the work position is not specified.
+ /// Gets or sets the name of the user's work position, or null if the name of the work position is not specified.
/// </summary>
[DataMember(Name = "name")]
public string Name { get; set; }