summaryrefslogtreecommitdiff
path: root/Gestor.Model/Model.Attributes/LogAttribute.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Gestor.Model/Model.Attributes/LogAttribute.cs')
-rw-r--r--Gestor.Model/Model.Attributes/LogAttribute.cs40
1 files changed, 0 insertions, 40 deletions
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