diff options
Diffstat (limited to 'Gestor.Model/Model.Attributes/NameAttribute.cs')
| -rw-r--r-- | Gestor.Model/Model.Attributes/NameAttribute.cs | 40 |
1 files changed, 0 insertions, 40 deletions
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 |