summaryrefslogtreecommitdiff
path: root/Gestor.Model/Model.Attributes
diff options
context:
space:
mode:
Diffstat (limited to 'Gestor.Model/Model.Attributes')
-rw-r--r--Gestor.Model/Model.Attributes/EntityAttribute.cs40
-rw-r--r--Gestor.Model/Model.Attributes/ForceLogAttribute.cs39
-rw-r--r--Gestor.Model/Model.Attributes/HelpAttribute.cs40
-rw-r--r--Gestor.Model/Model.Attributes/LogAttribute.cs40
-rw-r--r--Gestor.Model/Model.Attributes/NameAttribute.cs40
-rw-r--r--Gestor.Model/Model.Attributes/OldValue2Attribute.cs20
-rw-r--r--Gestor.Model/Model.Attributes/OldValueAttribute.cs20
-rw-r--r--Gestor.Model/Model.Attributes/TipoAttribute.cs40
-rw-r--r--Gestor.Model/Model.Attributes/WidthAttribute.cs40
9 files changed, 0 insertions, 319 deletions
diff --git a/Gestor.Model/Model.Attributes/EntityAttribute.cs b/Gestor.Model/Model.Attributes/EntityAttribute.cs
deleted file mode 100644
index 46113ad..0000000
--- a/Gestor.Model/Model.Attributes/EntityAttribute.cs
+++ /dev/null
@@ -1,40 +0,0 @@
-using System;
-using System.Runtime.CompilerServices;
-
-namespace Gestor.Model.Attributes
-{
- [AttributeUsage(AttributeTargets.All)]
- public class EntityAttribute : Attribute
- {
- public virtual string Description
- {
- get
- {
- return this.DescriptionValue;
- }
- }
-
- protected string DescriptionValue
- {
- get
- {
- return this.Tipo;
- }
- set
- {
- this.Tipo = value;
- }
- }
-
- public string Tipo
- {
- get;
- set;
- }
-
- public EntityAttribute(string tipo)
- {
- this.Tipo = tipo;
- }
- }
-} \ No newline at end of file
diff --git a/Gestor.Model/Model.Attributes/ForceLogAttribute.cs b/Gestor.Model/Model.Attributes/ForceLogAttribute.cs
deleted file mode 100644
index a9b0f20..0000000
--- a/Gestor.Model/Model.Attributes/ForceLogAttribute.cs
+++ /dev/null
@@ -1,39 +0,0 @@
-using System;
-using System.Runtime.CompilerServices;
-
-namespace Gestor.Model.Attributes
-{
- public class ForceLogAttribute : Attribute
- {
- public virtual bool Description
- {
- get
- {
- return this.DescriptionValue;
- }
- }
-
- protected bool DescriptionValue
- {
- get
- {
- return this.Log;
- }
- set
- {
- this.Log = value;
- }
- }
-
- public bool Log
- {
- get;
- set;
- }
-
- public ForceLogAttribute(bool log = true)
- {
- this.Log = log;
- }
- }
-} \ No newline at end of file
diff --git a/Gestor.Model/Model.Attributes/HelpAttribute.cs b/Gestor.Model/Model.Attributes/HelpAttribute.cs
deleted file mode 100644
index 54ed201..0000000
--- a/Gestor.Model/Model.Attributes/HelpAttribute.cs
+++ /dev/null
@@ -1,40 +0,0 @@
-using System;
-using System.Runtime.CompilerServices;
-
-namespace Gestor.Model.Attributes
-{
- [AttributeUsage(AttributeTargets.All)]
- public class HelpAttribute : Attribute
- {
- public virtual string Description
- {
- get
- {
- return this.DescriptionValue;
- }
- }
-
- protected string DescriptionValue
- {
- get
- {
- return this.Tipo;
- }
- set
- {
- this.Tipo = value;
- }
- }
-
- public string Tipo
- {
- get;
- set;
- }
-
- public HelpAttribute(string tipo)
- {
- this.Tipo = tipo;
- }
- }
-} \ No newline at end of file
diff --git a/Gestor.Model/Model.Attributes/LogAttribute.cs b/Gestor.Model/Model.Attributes/LogAttribute.cs
deleted file mode 100644
index ca9e763..0000000
--- a/Gestor.Model/Model.Attributes/LogAttribute.cs
+++ /dev/null
@@ -1,40 +0,0 @@
-using System;
-using System.Runtime.CompilerServices;
-
-namespace Gestor.Model.Attributes
-{
- [AttributeUsage(AttributeTargets.All)]
- public class LogAttribute : Attribute
- {
- public virtual bool Description
- {
- get
- {
- return this.DescriptionValue;
- }
- }
-
- protected bool DescriptionValue
- {
- get
- {
- return this.Log;
- }
- set
- {
- this.Log = value;
- }
- }
-
- public bool Log
- {
- get;
- set;
- }
-
- public LogAttribute(bool log = true)
- {
- this.Log = log;
- }
- }
-} \ No newline at end of file
diff --git a/Gestor.Model/Model.Attributes/NameAttribute.cs b/Gestor.Model/Model.Attributes/NameAttribute.cs
deleted file mode 100644
index fd04e69..0000000
--- a/Gestor.Model/Model.Attributes/NameAttribute.cs
+++ /dev/null
@@ -1,40 +0,0 @@
-using System;
-using System.Runtime.CompilerServices;
-
-namespace Gestor.Model.Attributes
-{
- [AttributeUsage(AttributeTargets.All)]
- public class NameAttribute : Attribute
- {
- public virtual bool Description
- {
- get
- {
- return this.DescriptionValue;
- }
- }
-
- protected bool DescriptionValue
- {
- get
- {
- return this.Log;
- }
- set
- {
- this.Log = value;
- }
- }
-
- public bool Log
- {
- get;
- set;
- }
-
- public NameAttribute(bool log = true)
- {
- this.Log = log;
- }
- }
-} \ No newline at end of file
diff --git a/Gestor.Model/Model.Attributes/OldValue2Attribute.cs b/Gestor.Model/Model.Attributes/OldValue2Attribute.cs
deleted file mode 100644
index 83fb5cf..0000000
--- a/Gestor.Model/Model.Attributes/OldValue2Attribute.cs
+++ /dev/null
@@ -1,20 +0,0 @@
-using System;
-using System.Runtime.CompilerServices;
-
-namespace Gestor.Model.Attributes
-{
- [AttributeUsage(AttributeTargets.Field)]
- public class OldValue2Attribute : Attribute
- {
- public string OldValue2
- {
- get;
- private set;
- }
-
- public OldValue2Attribute(string oldValue)
- {
- this.OldValue2 = oldValue;
- }
- }
-} \ No newline at end of file
diff --git a/Gestor.Model/Model.Attributes/OldValueAttribute.cs b/Gestor.Model/Model.Attributes/OldValueAttribute.cs
deleted file mode 100644
index 4f8c17c..0000000
--- a/Gestor.Model/Model.Attributes/OldValueAttribute.cs
+++ /dev/null
@@ -1,20 +0,0 @@
-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
diff --git a/Gestor.Model/Model.Attributes/TipoAttribute.cs b/Gestor.Model/Model.Attributes/TipoAttribute.cs
deleted file mode 100644
index f4590da..0000000
--- a/Gestor.Model/Model.Attributes/TipoAttribute.cs
+++ /dev/null
@@ -1,40 +0,0 @@
-using System;
-using System.Runtime.CompilerServices;
-
-namespace Gestor.Model.Attributes
-{
- [AttributeUsage(AttributeTargets.All)]
- public class TipoAttribute : Attribute
- {
- public virtual string Description
- {
- get
- {
- return this.DescriptionValue;
- }
- }
-
- protected string DescriptionValue
- {
- get
- {
- return this.Tipo;
- }
- set
- {
- this.Tipo = value;
- }
- }
-
- public string Tipo
- {
- get;
- set;
- }
-
- public TipoAttribute(string tipo)
- {
- this.Tipo = tipo;
- }
- }
-} \ No newline at end of file
diff --git a/Gestor.Model/Model.Attributes/WidthAttribute.cs b/Gestor.Model/Model.Attributes/WidthAttribute.cs
deleted file mode 100644
index af31e8f..0000000
--- a/Gestor.Model/Model.Attributes/WidthAttribute.cs
+++ /dev/null
@@ -1,40 +0,0 @@
-using System;
-using System.Runtime.CompilerServices;
-
-namespace Gestor.Model.Attributes
-{
- [AttributeUsage(AttributeTargets.All)]
- public class WidthAttribute : Attribute
- {
- public virtual string Description
- {
- get
- {
- return this.DescriptionValue;
- }
- }
-
- protected string DescriptionValue
- {
- get
- {
- return this.Tipo;
- }
- set
- {
- this.Tipo = value;
- }
- }
-
- public string Tipo
- {
- get;
- set;
- }
-
- public WidthAttribute(string tipo)
- {
- this.Tipo = tipo;
- }
- }
-} \ No newline at end of file