|
2 | 2 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
3 | 3 | <head>
|
4 | 4 | <title>${h(Type.PrettyName)} - ${WriteProductName(Assemblies[0])} Documentation</title>
|
5 |
| - <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> |
| 5 | + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
6 | 6 | <link type="text/css" rel="stylesheet" href="../main.css" />
|
7 | 7 | <script type="text/javascript" src="../js/jquery-1.3.2.min.js"></script>
|
8 | 8 | <script type="text/javascript" src="../js/jquery.scrollTo-min.js"></script>
|
9 | 9 | <script type="text/javascript" src="../js/navigation.js"></script>
|
| 10 | + <script type="text/javascript" src="../js/example.js"></script> |
10 | 11 | </head>
|
11 | 12 | <body>
|
12 | 13 | <namespaces />
|
|
22 | 23 | <div id="summary">
|
23 | 24 | <comment content="Type.Summary" />
|
24 | 25 | <remarks content="Type.Remarks" />
|
| 26 | + <example content="Type.Example" /> |
| 27 | + </div> |
| 28 | + </if> |
| 29 | + <if condition="Type.IsObsolete"> |
| 30 | + <div id="warning"> |
| 31 | + <b>Obsolete:</b> ${Type.ObsoleteReason} |
25 | 32 | </div>
|
26 | 33 | </if>
|
27 | 34 |
|
28 |
| - <if condition="Type.Events.Count > 0"> |
29 |
| - <h3 class="section">Events</h3> |
| 35 | + <if condition="Type.Methods.Where(x => x.IsConstructor).Count() > 0"> |
| 36 | + <h3 class="section">Constructors</h3> |
30 | 37 | <ul>
|
31 |
| - <li each="var ev in Type.Events">${Format(ev)}</li> |
| 38 | + <li each="var method in Type.Methods.Where(x => x.IsConstructor)">${Format(method)}</li> |
32 | 39 | </ul>
|
33 | 40 | </if>
|
34 |
| - |
35 |
| - <if condition="Type.Methods.Count > 0"> |
| 41 | + |
| 42 | + <if condition="Type.Methods.Where(x => !x.IsConstructor && x.IsStatic).Count() > 0"> |
| 43 | + <h3 class="section">Static Functions</h3> |
| 44 | + <ul> |
| 45 | + <li each="var method in Type.Methods.Where(x => !x.IsConstructor && x.IsStatic)">${Format(method)}</li> |
| 46 | + </ul> |
| 47 | + </if> |
| 48 | + <if condition="!Type.IsStatic && Type.Methods.Where(x => !x.IsConstructor && !x.IsStatic).Count() > 0"> |
36 | 49 | <h3 class="section">Methods</h3>
|
37 | 50 | <ul>
|
38 |
| - <li each="var method in Type.Methods">${Format(method)}</li> |
| 51 | + <li each="var method in Type.Methods.Where(x => !x.IsConstructor && !x.IsStatic)">${Format(method)}</li> |
39 | 52 | </ul>
|
40 | 53 | </if>
|
41 | 54 |
|
| 55 | + <if condition="Type.Events.Count > 0"> |
| 56 | + <h3 class="section">Events</h3> |
| 57 | + <ul> |
| 58 | + <li each="var ev in Type.Events">${Format(ev)}</li> |
| 59 | + </ul> |
| 60 | + </if> |
| 61 | + |
42 | 62 | <if condition="Type.Properties.Count > 0">
|
43 | 63 | <h3 class="section">Properties</h3>
|
44 | 64 | <ul>
|
|
56 | 76 |
|
57 | 77 | <events events="Type.Events" title="'Events'" />
|
58 | 78 |
|
59 |
| - <var publicInstanceMethods="Type.Methods.Where(x => x.IsPublic && !x.IsStatic)" /> |
60 |
| - <methods methods="publicInstanceMethods" title="'Public instance methods'" /> |
| 79 | + <var publicConstructors="Type.Methods.Where(x => x.IsPublic && x.IsConstructor)" /> |
| 80 | + <methods methods="publicConstructors" title="'Public Constructors'" /> |
61 | 81 |
|
62 | 82 | <var publicStaticMethods="Type.Methods.Where(x => x.IsPublic && x.IsStatic)" />
|
63 |
| - <methods methods="publicStaticMethods" title="'Public static methods'" /> |
| 83 | + <methods methods="publicStaticMethods" title="'Public Static Functions'" /> |
| 84 | + |
| 85 | + <if condition="!Type.IsStatic"> |
| 86 | + <var publicInstanceMethods="Type.Methods.Where(x => x.IsPublic && !x.IsStatic && !x.IsConstructor)" /> |
| 87 | + <methods methods="publicInstanceMethods" title="'Public Methods'" /> |
| 88 | + </if> |
64 | 89 |
|
65 |
| - <properties properties="Type.Properties" title="'Public properties'" /> |
| 90 | + <properties properties="Type.Properties" title="'Public Properties'" /> |
66 | 91 | <fields fields="Type.Fields" title="'Public fields'" />
|
67 | 92 |
|
68 | 93 | <use file="../_footer" />
|
|
0 commit comments