More refactoring. I think everything works now?
[VOID.git] / API / Attributes / AVOID_SaveValue.cs
blob:a/API/Attributes/AVOID_SaveValue.cs -> blob:b/API/Attributes/AVOID_SaveValue.cs
--- a/API/Attributes/AVOID_SaveValue.cs
+++ b/API/Attributes/AVOID_SaveValue.cs
@@ -29,22 +29,18 @@
 
 namespace VOID
 {
-	[AttributeUsage(AttributeTargets.Field)]
+	[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property)]
 	public class AVOID_SaveValue : Attribute
 	{
-		protected string _name;
-
 		public string Name
 		{
-			get
-			{
-				return this._name;
-			}
+			get;
+			private set;
 		}
 
 		public AVOID_SaveValue(string fieldName)
 		{
-			this._name = fieldName;
+			this.Name = fieldName;
 		}
 	}
 }