1 #Region "Microsoft.VisualBasic::c916db47a1e02a1208e8e73f9964dfa7, Microsoft.VisualBasic.Core\ComponentModel\DataSource\Abstract.vb"
2
3     ' Author:
4     
5     '       asuka (amethyst.asuka@gcmodeller.org)
6     '       xie (genetics@smrucc.org)
7     '       xieguigang (xie.guigang@live.com)
8     
9     ' Copyright (c) 2018 GPL3 Licensed
10     
11     
12     ' GNU GENERAL PUBLIC LICENSE (GPL3)
13     
14     
15     ' This program is free software: you can redistribute it and/or modify
16     ' it under the terms of the GNU General Public License as published by
17     ' the Free Software Foundation, either version 3 of the License, or
18     ' (at your option) any later version.
19     
20     ' This program is distributed in the hope that it will be useful,
21     ' but WITHOUT ANY WARRANTY; without even the implied warranty of
22     ' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
23     ' GNU General Public License for more details.
24     
25     ' You should have received a copy of the GNU General Public License
26     ' along with this program. If not, see <http://www.gnu.org/licenses/>.
27
28
29
30     ' /********************************************************************************/
31
32     ' Summaries:
33
34     '     Enum PropertyAccess
35     
36     
37     '  
38     
39     
40     
41     '     Class DataIgnoredAttribute
42     
43     
44     
45     '     Delegate Function
46     
47     
48     
49     ' /********************************************************************************/
50
51 #End Region
52
53 Namespace ComponentModel.DataSourceModel
54
55     Public Enum PropertyAccess As Byte
56         NotSure = 0
57         Readable = 2
58         Writeable = 4
59         ReadWrite = Readable And Writeable
60     End Enum
61
62     ''' <summary>
63     ''' 在数据框数据映射操作之中是否忽略掉这个属性或者方法?
64     ''' </summary>
65     <AttributeUsage(AttributeTargets.Property Or AttributeTargets.Method, AllowMultiple:=False, Inherited:=True)>
66     Public Class DataIgnoredAttribute : Inherits Attribute
67     End Class
68
69     ''' <summary>
70     ''' Class field reader
71     ''' </summary>
72     ''' <typeparam name="T"></typeparam>
73     ''' <typeparam name="Tout"></typeparam>
74     ''' <param name="[in]"></param>
75     ''' <returns></returns>
76     Public Delegate Function Projector(Of T, Tout)([in] As T) As Tout
77
78 End Namespace