summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2009-03-21 09:31:01 -0700
committerAndrew Arnott <andrewarnott@gmail.com>2009-03-21 09:31:01 -0700
commitd7dfebee6de58132032aa1811f527a82e5dc9189 (patch)
tree0480272c191fcc0a5196e7468837c07ec61d3307 /src
parent7a7258be977468ff7537a781309eb51b75d2b10b (diff)
downloadDotNetOpenAuth-d7dfebee6de58132032aa1811f527a82e5dc9189.zip
DotNetOpenAuth-d7dfebee6de58132032aa1811f527a82e5dc9189.tar.gz
DotNetOpenAuth-d7dfebee6de58132032aa1811f527a82e5dc9189.tar.bz2
Fixed StyleCop messages.
Diffstat (limited to 'src')
-rw-r--r--src/DotNetOpenAuth/ComponentModel/ConverterBase.cs6
-rw-r--r--src/DotNetOpenAuth/ComponentModel/UriConverter.cs5
-rw-r--r--src/DotNetOpenAuth/InfoCard/WellKnownClaimTypes.cs63
-rw-r--r--src/DotNetOpenAuth/InfoCard/WellKnownIssuers.cs2
4 files changed, 40 insertions, 36 deletions
diff --git a/src/DotNetOpenAuth/ComponentModel/ConverterBase.cs b/src/DotNetOpenAuth/ComponentModel/ConverterBase.cs
index aa9164d..c38c15e 100644
--- a/src/DotNetOpenAuth/ComponentModel/ConverterBase.cs
+++ b/src/DotNetOpenAuth/ComponentModel/ConverterBase.cs
@@ -16,6 +16,7 @@ namespace DotNetOpenAuth.ComponentModel {
/// A design-time helper to allow Intellisense to aid typing
/// ClaimType URIs.
/// </summary>
+ /// <typeparam name="T">The strong-type of the property this class is affixed to.</typeparam>
public abstract class ConverterBase<T> : TypeConverter {
/// <summary>
/// A cache of the standard claim types known to the application.
@@ -23,11 +24,14 @@ namespace DotNetOpenAuth.ComponentModel {
private StandardValuesCollection standardValues;
/// <summary>
- /// Initializes a new instance of the ConverterBase&lt;T&gt; class.
+ /// Initializes a new instance of the ConverterBase class.
/// </summary>
protected ConverterBase() {
}
+ /// <summary>
+ /// Gets a cache of the standard values to suggest.
+ /// </summary>
private StandardValuesCollection StandardValueCache {
get {
if (this.standardValues == null) {
diff --git a/src/DotNetOpenAuth/ComponentModel/UriConverter.cs b/src/DotNetOpenAuth/ComponentModel/UriConverter.cs
index 26774f0..e99cf99 100644
--- a/src/DotNetOpenAuth/ComponentModel/UriConverter.cs
+++ b/src/DotNetOpenAuth/ComponentModel/UriConverter.cs
@@ -6,20 +6,21 @@
namespace DotNetOpenAuth.ComponentModel {
using System;
+ using System.Collections;
using System.ComponentModel;
using System.ComponentModel.Design.Serialization;
using System.Diagnostics.Contracts;
using System.Linq;
using System.Reflection;
- using System.Collections;
/// <summary>
/// A design-time helper to allow controls to have properties
/// of type <see cref="Uri"/>.
/// </summary>
+ /// <typeparam name="WellKnownValues">A type to reflect over for suggested values.</typeparam>
public class UriConverter<WellKnownValues> : ConverterBase<Uri> {
/// <summary>
- /// Initializes a new instance of the UriConverter&lt;WellKnownValues&gt; class.
+ /// Initializes a new instance of the UriConverter class.
/// </summary>
[Obsolete("This class is meant for design-time use within an IDE, and not meant to be used directly by runtime code.")]
public UriConverter() {
diff --git a/src/DotNetOpenAuth/InfoCard/WellKnownClaimTypes.cs b/src/DotNetOpenAuth/InfoCard/WellKnownClaimTypes.cs
index 68e5960..4cd608f 100644
--- a/src/DotNetOpenAuth/InfoCard/WellKnownClaimTypes.cs
+++ b/src/DotNetOpenAuth/InfoCard/WellKnownClaimTypes.cs
@@ -1,4 +1,3 @@
-// <auto-generated />
//-----------------------------------------------------------------------
// <copyright file="WellKnownClaimTypes.cs" company="Andrew Arnott">
// Copyright (c) Andrew Arnott. All rights reserved.
@@ -16,163 +15,163 @@ namespace DotNetOpenAuth.InfoCard {
/// The "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/anonymous" claim.
/// </summary>
public const string Anonymous = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/anonymous";
-
+
/// <summary>
/// The "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/authentication" claim.
/// </summary>
public const string Authentication = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/authentication";
-
+
/// <summary>
/// The "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/authorizationdecision" claim.
/// </summary>
public const string AuthorizationDecision = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/authorizationdecision";
-
+
/// <summary>
/// The "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/country" claim.
/// </summary>
public const string Country = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/country";
-
+
/// <summary>
/// The "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/dateofbirth" claim.
/// </summary>
public const string DateOfBirth = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/dateofbirth";
-
+
/// <summary>
/// The "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/denyonlysid" claim.
/// </summary>
public const string DenyOnlySid = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/denyonlysid";
-
+
/// <summary>
/// The "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/dns" claim.
/// </summary>
public const string Dns = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/dns";
-
+
/// <summary>
/// The "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress" claim.
/// </summary>
public const string Email = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress";
-
+
/// <summary>
/// The "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/gender" claim.
/// </summary>
public const string Gender = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/gender";
-
+
/// <summary>
/// The "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname" claim.
/// </summary>
public const string GivenName = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname";
-
+
/// <summary>
/// The "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/hash" claim.
/// </summary>
public const string Hash = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/hash";
-
+
/// <summary>
/// The "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/homephone" claim.
/// </summary>
public const string HomePhone = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/homephone";
-
+
/// <summary>
/// The "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/locality" claim.
/// </summary>
public const string Locality = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/locality";
-
+
/// <summary>
/// The "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/mobilephone" claim.
/// </summary>
public const string MobilePhone = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/mobilephone";
-
+
/// <summary>
/// The "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name" claim.
/// </summary>
public const string Name = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name";
-
+
/// <summary>
/// The "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier" claim.
/// </summary>
public const string NameIdentifier = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier";
-
+
/// <summary>
/// The "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/otherphone" claim.
/// </summary>
public const string OtherPhone = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/otherphone";
-
+
/// <summary>
/// The "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/postalcode" claim.
/// </summary>
public const string PostalCode = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/postalcode";
-
+
/// <summary>
/// The "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/privatepersonalidentifier" claim.
/// </summary>
[SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Ppid", Justification = "By design")]
public const string Ppid = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/privatepersonalidentifier";
-
+
/// <summary>
/// The "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/rsa" claim.
/// </summary>
[SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Rsa", Justification = "By design")]
public const string Rsa = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/rsa";
-
+
/// <summary>
/// The "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/sid" claim.
/// </summary>
public const string Sid = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/sid";
-
+
/// <summary>
/// The "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/spn" claim.
/// </summary>
[SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Spn", Justification = "By design")]
public const string Spn = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/spn";
-
+
/// <summary>
/// The "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/stateorprovince" claim.
/// </summary>
public const string StateOrProvince = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/stateorprovince";
-
+
/// <summary>
/// The "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/streetaddress" claim.
/// </summary>
public const string StreetAddress = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/streetaddress";
-
+
/// <summary>
/// The "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname" claim.
/// </summary>
public const string Surname = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname";
-
+
/// <summary>
/// The "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/system" claim.
/// </summary>
public const string System = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/system";
-
+
/// <summary>
/// The "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/thumbprint" claim.
/// </summary>
public const string Thumbprint = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/thumbprint";
-
+
/// <summary>
/// The "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/upn" claim.
/// </summary>
[SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Upn", Justification = "By design")]
public const string Upn = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/upn";
-
+
/// <summary>
/// The "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/uri" claim.
/// </summary>
public const string Uri = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/uri";
-
+
/// <summary>
/// The "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/webpage" claim.
/// </summary>
public const string Webpage = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/webpage";
-
+
/// <summary>
/// The "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/x500distinguishedname" claim.
/// </summary>
public const string X500DistinguishedName = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/x500distinguishedname";
/// <summary>
- /// Initializes a new instance of the <see cref="WellKnownClaimTypes"/> class.
+ /// Prevents a default instance of the <see cref="WellKnownClaimTypes"/> class from being created.
/// </summary>
private WellKnownClaimTypes() {
}
diff --git a/src/DotNetOpenAuth/InfoCard/WellKnownIssuers.cs b/src/DotNetOpenAuth/InfoCard/WellKnownIssuers.cs
index 0d50454..1b4b3ae 100644
--- a/src/DotNetOpenAuth/InfoCard/WellKnownIssuers.cs
+++ b/src/DotNetOpenAuth/InfoCard/WellKnownIssuers.cs
@@ -15,7 +15,7 @@ namespace DotNetOpenAuth.InfoCard {
public const string SelfIssued = "http://schemas.xmlsoap.org/ws/2005/05/identity/issuer/self";
/// <summary>
- /// Initializes a new instance of the <see cref="WellKnownClaimTypes"/> class.
+ /// Prevents a default instance of the <see cref="WellKnownIssuers"/> class from being created.
/// </summary>
private WellKnownIssuers() {
}