summaryrefslogtreecommitdiffstats
path: root/src/DotNetOAuth/Messaging/Reflection
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2008-09-20 19:39:19 -0700
committerAndrew <andrewarnott@gmail.com>2008-09-20 19:39:19 -0700
commit3b3a1836352fc2d50cb2698f9a2910aa1f9ba0d2 (patch)
tree38b58786780b3f6b7e2d05f6ddd89eda29c4fca8 /src/DotNetOAuth/Messaging/Reflection
parentf7fa44d6001b0c104cbf209cd7455e536e02cbe9 (diff)
downloadDotNetOpenAuth-3b3a1836352fc2d50cb2698f9a2910aa1f9ba0d2.zip
DotNetOpenAuth-3b3a1836352fc2d50cb2698f9a2910aa1f9ba0d2.tar.gz
DotNetOpenAuth-3b3a1836352fc2d50cb2698f9a2910aa1f9ba0d2.tar.bz2
Removed a lot of DataContract references.
Diffstat (limited to 'src/DotNetOAuth/Messaging/Reflection')
-rw-r--r--src/DotNetOAuth/Messaging/Reflection/MessagePartAttribute.cs33
1 files changed, 0 insertions, 33 deletions
diff --git a/src/DotNetOAuth/Messaging/Reflection/MessagePartAttribute.cs b/src/DotNetOAuth/Messaging/Reflection/MessagePartAttribute.cs
deleted file mode 100644
index c8bb8f5..0000000
--- a/src/DotNetOAuth/Messaging/Reflection/MessagePartAttribute.cs
+++ /dev/null
@@ -1,33 +0,0 @@
-//-----------------------------------------------------------------------
-// <copyright file="MessagePartAttribute.cs" company="Andrew Arnott">
-// Copyright (c) Andrew Arnott. All rights reserved.
-// </copyright>
-//-----------------------------------------------------------------------
-
-namespace DotNetOAuth.Messaging.Reflection {
- using System;
- using System.Net.Security;
- using System.Reflection;
-
- [AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, Inherited = true, AllowMultiple = false)]
- internal sealed class MessagePartAttribute : Attribute {
- private bool initialized;
- private string name;
-
- internal MessagePartAttribute() {
- }
-
- internal MessagePartAttribute(string name) {
- this.Name = name;
- }
-
- public string Name {
- get { return this.name; }
- set { this.name = string.IsNullOrEmpty(value) ? null : value; }
- }
-
- public ProtectionLevel RequiredProtection { get; set; }
-
- public bool IsRequired { get; set; }
- }
-}