Mercurial > pub > bltoolkit
annotate Source/DataAccess/DiscoverParametersAttribute.cs @ 7:99cd4f3947d8
Закомментированы строки мешающие добавлению авиа дежурств.
author | nickolay |
---|---|
date | Fri, 27 Oct 2017 18:26:29 +0300 |
parents | f990fcb411a9 |
children |
rev | line source |
---|---|
0 | 1 using System; |
2 | |
3 namespace BLToolkit.DataAccess | |
4 { | |
5 [AttributeUsage(AttributeTargets.Class | AttributeTargets.Method)] | |
6 public class DiscoverParametersAttribute : Attribute | |
7 { | |
8 public DiscoverParametersAttribute() | |
9 { | |
10 _discover = true; | |
11 } | |
12 | |
13 public DiscoverParametersAttribute(bool discover) | |
14 { | |
15 _discover = discover; | |
16 } | |
17 | |
18 private readonly bool _discover; | |
19 public bool Discover | |
20 { | |
21 get { return _discover; } | |
22 } | |
23 } | |
24 } |