diff options
Diffstat (limited to 'Codemerx/Gestor.Common/Gestor.Common.Helpers/DefaultAttribute.cs')
| -rw-r--r-- | Codemerx/Gestor.Common/Gestor.Common.Helpers/DefaultAttribute.cs | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Codemerx/Gestor.Common/Gestor.Common.Helpers/DefaultAttribute.cs b/Codemerx/Gestor.Common/Gestor.Common.Helpers/DefaultAttribute.cs new file mode 100644 index 0000000..b79d623 --- /dev/null +++ b/Codemerx/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 |