1 | #Region "Microsoft.VisualBasic::8093125fe5cd5e3bfa7052c5a10e22b1, Microsoft.VisualBasic.Core\ApplicationServices\VBDev\XmlDoc\Serialization\Models\Doc.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 | ' Class Doc |
35 | ' |
36 | ' Properties: assembly, members |
37 | ' |
38 | ' Function: ToString |
39 | ' |
40 | ' Class assembly |
41 | ' |
42 | ' Properties: name |
43 | ' |
44 | ' Function: ToString |
45 | ' |
46 | ' Interface IMember |
47 | ' |
48 | ' Properties: name |
49 | ' |
50 | ' |
51 | ' /********************************************************************************/ |
52 | |
53 | #End Region |
54 | |
55 | Imports System.Xml.Serialization |
56 | |
57 | Namespace ApplicationServices.Development.XmlDoc.Serialization |
58 | |
59 | ''' <summary> |
60 | ''' .NET assembly generated XML comments documents file. |
61 | ''' </summary> |
62 | <XmlType("doc")> Public Class Doc |
63 | Public Property assembly As assembly |
64 | Public Property members As member() |
65 | |
66 | Public Overrides Function ToString() As String |
67 | Return assembly.name |
68 | End Function |
69 | End Class |
70 | |
71 | Public Class assembly : Implements IMember |
72 | |
73 | Public Property name As String Implements IMember.name |
74 | |
75 | Public Overrides Function ToString() As String |
76 | Return name |
77 | End Function |
78 | End Class |
79 | |
80 | Public Interface IMember |
81 | Property name As String |
82 | End Interface |
83 | End Namespace |