summaryrefslogtreecommitdiff
path: root/Codemerx/Gestor.Model/Model.Attributes/OldValueAttribute.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Codemerx/Gestor.Model/Model.Attributes/OldValueAttribute.cs')
-rw-r--r--Codemerx/Gestor.Model/Model.Attributes/OldValueAttribute.cs20
1 files changed, 20 insertions, 0 deletions
diff --git a/Codemerx/Gestor.Model/Model.Attributes/OldValueAttribute.cs b/Codemerx/Gestor.Model/Model.Attributes/OldValueAttribute.cs
new file mode 100644
index 0000000..4f8c17c
--- /dev/null
+++ b/Codemerx/Gestor.Model/Model.Attributes/OldValueAttribute.cs
@@ -0,0 +1,20 @@
+using System;
+using System.Runtime.CompilerServices;
+
+namespace Gestor.Model.Attributes
+{
+ [AttributeUsage(AttributeTargets.Field)]
+ public class OldValueAttribute : Attribute
+ {
+ public string OldValue
+ {
+ get;
+ private set;
+ }
+
+ public OldValueAttribute(string oldValue)
+ {
+ this.OldValue = oldValue;
+ }
+ }
+} \ No newline at end of file