summaryrefslogtreecommitdiffstats
path: root/src/DotNetOAuth/Messaging/Reflection/MessagePartAttribute.cs
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2008-09-20 12:09:56 -0700
committerAndrew <andrewarnott@gmail.com>2008-09-20 12:09:56 -0700
commitccd062ccfaa33aed1da1e39e62c07348392f4367 (patch)
tree870eea6e76aad96882d972f8a2cbeb0dfa380108 /src/DotNetOAuth/Messaging/Reflection/MessagePartAttribute.cs
parent74784effd199c28cae39676082b988454a7b37fb (diff)
downloadDotNetOpenAuth-ccd062ccfaa33aed1da1e39e62c07348392f4367.zip
DotNetOpenAuth-ccd062ccfaa33aed1da1e39e62c07348392f4367.tar.gz
DotNetOpenAuth-ccd062ccfaa33aed1da1e39e62c07348392f4367.tar.bz2
Worked on test coverage.
Diffstat (limited to 'src/DotNetOAuth/Messaging/Reflection/MessagePartAttribute.cs')
-rw-r--r--src/DotNetOAuth/Messaging/Reflection/MessagePartAttribute.cs14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/DotNetOAuth/Messaging/Reflection/MessagePartAttribute.cs b/src/DotNetOAuth/Messaging/Reflection/MessagePartAttribute.cs
index e5c429e..92960a8 100644
--- a/src/DotNetOAuth/Messaging/Reflection/MessagePartAttribute.cs
+++ b/src/DotNetOAuth/Messaging/Reflection/MessagePartAttribute.cs
@@ -29,19 +29,5 @@ namespace DotNetOAuth.Messaging.Reflection {
public ProtectionLevel Signed { get; set; }
public bool IsRequired { get; set; }
-
- internal void Initialize(MemberInfo member) {
- if (member == null) {
- throw new ArgumentNullException("member");
- }
-
- if (!this.initialized) {
- if (String.IsNullOrEmpty(this.Name)) {
- this.Name = member.Name;
- }
-
- this.initialized = true;
- }
- }
}
}