summaryrefslogtreecommitdiff
path: root/Gestor.Common/Gestor.Common.Helpers/DefaultAttribute.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Gestor.Common/Gestor.Common.Helpers/DefaultAttribute.cs')
-rw-r--r--Gestor.Common/Gestor.Common.Helpers/DefaultAttribute.cs19
1 files changed, 19 insertions, 0 deletions
diff --git a/Gestor.Common/Gestor.Common.Helpers/DefaultAttribute.cs b/Gestor.Common/Gestor.Common.Helpers/DefaultAttribute.cs
new file mode 100644
index 0000000..b79d623
--- /dev/null
+++ b/Gestor.Common/Gestor.Common.Helpers/DefaultAttribute.cs
@@ -0,0 +1,19 @@
+using System;
+using System.Runtime.CompilerServices;
+
+namespace Gestor.Common.Helpers
+{
+ public class DefaultAttribute : Attribute
+ {
+ public bool DefaultProperty
+ {
+ get;
+ private set;
+ }
+
+ public DefaultAttribute(bool defaultProperty)
+ {
+ this.DefaultProperty = defaultProperty;
+ }
+ }
+} \ No newline at end of file