1
|
/*
|
2
|
Copyright (c) 2003-2006 Niels Kokholm and Peter Sestoft
|
3
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
4
|
of this software and associated documentation files (the "Software"), to deal
|
5
|
in the Software without restriction, including without limitation the rights
|
6
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
7
|
copies of the Software, and to permit persons to whom the Software is
|
8
|
furnished to do so, subject to the following conditions:
|
9
|
|
10
|
The above copyright notice and this permission notice shall be included in
|
11
|
all copies or substantial portions of the Software.
|
12
|
|
13
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
14
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
15
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
16
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
17
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
18
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
19
|
SOFTWARE.
|
20
|
*/
|
21
|
|
22
|
using System;
|
23
|
using MSG = System.Collections.Generic;
|
24
|
|
25
|
namespace Try
|
26
|
{
|
27
|
/*
|
28
|
/// <summary>
|
29
|
/// Affenpinscher
|
30
|
/// </summary>
|
31
|
public class SSS<T,U>
|
32
|
{
|
33
|
/// <summary>
|
34
|
/// GGGGGGG <cell>tidlig <seealso cref="T:Try.Foo!3"/> <b alk="foo">bonny</b> namse</cell> efter
|
35
|
/// </summary>
|
36
|
/// <param name="u">zeU</param>
|
37
|
/// <param name="cell">zeI</param>
|
38
|
/// <param name="t">zeT</param>
|
39
|
/// <returns>zeReturn</returns>
|
40
|
public static T g(out U u, ref int cell, T t) { u = default(U); return default(T); }
|
41
|
|
42
|
/// <summary>
|
43
|
/// Nested klasse
|
44
|
/// </summary>
|
45
|
public class Inner<K>
|
46
|
{
|
47
|
/// <summary>
|
48
|
/// IIIIIIIIII
|
49
|
/// </summary>
|
50
|
/// <param name="t">TTTTTTTTTT</param>
|
51
|
/// <param name="k">KKKKKKK</param>
|
52
|
/// <returns>RRRRRRRRRRR</returns>
|
53
|
public U indre(T t, K k) { return default(U); }
|
54
|
}
|
55
|
/// <summary>
|
56
|
/// Jaj ja
|
57
|
/// </summary>
|
58
|
public class NongenNested
|
59
|
{
|
60
|
/// <summary>
|
61
|
/// Det er et y
|
62
|
/// </summary>
|
63
|
public int y;
|
64
|
}
|
65
|
/// <summary>
|
66
|
/// Lolololola
|
67
|
/// </summary>
|
68
|
public U lefield;
|
69
|
/// <summary>
|
70
|
/// Cococococola
|
71
|
/// </summary>
|
72
|
public static Foo<T,U,U> gramse;
|
73
|
/// <summary>
|
74
|
/// zesum
|
75
|
/// </summary>
|
76
|
/// <value>zeval</value>
|
77
|
public SSS<T,T> leprop { get { return default(SSS<T,T>); } }
|
78
|
/// <summary>
|
79
|
/// Sju
|
80
|
/// </summary>
|
81
|
/// <param name="f">ffffffff</param>
|
82
|
/// <param name="johndoe">ffffffff</param>
|
83
|
public string s<V,X,Y,Z>(Foo<T,Y,SSS<Z,T>> f, int johndoe) { return "7"; }
|
84
|
/// <summary>
|
85
|
/// intuism
|
86
|
/// </summary>
|
87
|
/// <param name="tudse">froe</param>
|
88
|
/// <param name="frank">sin</param>
|
89
|
public SSS(T[] tudse, double frank) { }
|
90
|
}
|
91
|
|
92
|
/// <summary>
|
93
|
/// ooh
|
94
|
/// </summary>
|
95
|
|
96
|
public class HHH
|
97
|
{
|
98
|
/// <summary>
|
99
|
/// MusseKom
|
100
|
/// </summary>
|
101
|
public class Musse { }
|
102
|
}
|
103
|
|
104
|
|
105
|
|
106
|
/// <summary>
|
107
|
/// Hejsa
|
108
|
/// </summary>
|
109
|
public class Foo<K,L,M> { }
|
110
|
|
111
|
*/
|
112
|
/// <summary>
|
113
|
/// Hejsa
|
114
|
/// </summary>
|
115
|
public delegate void Mapper<T,U>(T t);
|
116
|
|
117
|
|
118
|
|
119
|
/// <summary>
|
120
|
/// Los accoutables
|
121
|
/// </summary>
|
122
|
public interface IEnumerable<T>
|
123
|
{
|
124
|
// <summary>
|
125
|
// getegetegeteg
|
126
|
// </summary>
|
127
|
// <returns>leturn</returns>
|
128
|
//MSG.IEnumerator<T> GetEnumerator();
|
129
|
|
130
|
|
131
|
/// <summary>
|
132
|
/// Apply a delegate to all items of this collection.
|
133
|
/// </summary>
|
134
|
/// <param name="a">The delegate to apply</param>
|
135
|
void Map<U>(Mapper<T,U> a);
|
136
|
}
|
137
|
}
|