3 <title>Mono.DocTest.Generic.Extensions</title>
4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
6 a { text-decoration: none }
13 border: thin solid black;
14 background-color: #f2f2f2;
17 .CollectionTitle { font-weight: bold }
18 .PageTitle { font-size: 150%; font-weight: bold }
26 .Section { font-size: 125%; font-weight: bold }
30 .SectionBox { margin-left: 2em }
31 .NamespaceName { font-size: 105%; font-weight: bold }
33 .MemberName { font-size: 115%; font-weight: bold; margin-top: 1em }
34 .Subsection { font-size: 105%; font-weight: bold }
35 .SubsectionBox { margin-left: 2em; margin-bottom: 1em }
37 .CodeExampleTable { background-color: #f5f5dd; border: thin solid black; padding: .25em; }
40 border-collapse: collapse;
53 border: solid gray 1px;
59 background-color: #f2f2f2;
60 border: solid gray 1px;
64 border-top: 1px solid gray;
71 span.NotEntered /* Documentation for this section has not yet been entered */ {
102 ul.TypeMembersIndex li {
110 table.SignatureTable {
113 table.Documentation, table.Enumeration, table.TypeDocumentation {
114 border-collapse: collapse;
118 table.Documentation tr th, table.TypeMembers tr th, table.Enumeration tr th, table.TypeDocumentation tr th {
119 background: whitesmoke;
121 border: 1px solid gray;
123 vertical-align: bottom;
126 table.Documentation tr td, table.TypeMembers tr td, table.Enumeration tr td, table.TypeDocumentation tr td {
128 border: 1px solid gray;
134 border: 1px solid #C0C0C0;
138 table.TypeMembers tr td {
143 table.Documentation {
151 border: 1px solid #DDDDDD;
152 background-color: #F8F8F8;
157 border-bottom: 1px solid #DDDDDD;
160 div.CodeExample div {
169 border: 1px solid #C0C0C0;
174 <script type="text/JavaScript">
175 function toggle_display (block) {
176 var w = document.getElementById (block);
177 var t = document.getElementById (block + ":toggle");
178 if (w.style.display == "none") {
179 w.style.display = "block";
182 w.style.display = "none";
189 <div class="CollectionTitle">
190 <a href="../index.html">DocTest</a> : <a href="index.html">Mono.DocTest.Generic Namespace</a></div>
191 <div class="SideBar">
193 <a href="#T:Mono.DocTest.Generic.Extensions">Overview</a>
196 <a href="#T:Mono.DocTest.Generic.Extensions:Signature">Signature</a>
199 <a href="#T:Mono.DocTest.Generic.Extensions:Docs">Remarks</a>
202 <a href="#Members">Members</a>
205 <a href="#T:Mono.DocTest.Generic.Extensions:Members">Member Details</a>
208 <h1 class="PageTitle" id="T:Mono.DocTest.Generic.Extensions">Extensions Class</h1>
209 <p class="Summary" id="T:Mono.DocTest.Generic.Extensions:Summary">extension methods!</p>
212 <div class="Signature" id="T:Mono.DocTest.Generic.Extensions:Signature">public static class <b>Extensions</b></div>
214 <div class="Remarks" id="T:Mono.DocTest.Generic.Extensions:Docs">
215 <h2 class="Section">Remarks</h2>
216 <div class="SectionBox" id="T:Mono.DocTest.Generic.Extensions:Docs:Remarks">
217 <tt>T:Mono.DocTest.Generic.Extensions</tt>
219 <h2 class="Section">Requirements</h2>
220 <div class="SectionBox" id="T:Mono.DocTest.Generic.Extensions:Docs:Version Information">
221 <b>Namespace: </b>Mono.DocTest.Generic<br /><b>Assembly: </b>DocTest (in DocTest.dll)<br /><b>Assembly Versions: </b>0.0.0.0</div>
222 <h2 class="Section" id="Members">Members</h2>
223 <div class="SectionBox" id="_Members">
225 See Also: Inherited members from
226 <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Object">object</a>.
228 <h2 class="Section">Public Methods</h2>
229 <div class="SectionBox" id="Public Methods">
230 <div class="SubsectionBox">
231 <table class="TypeMembers">
238 <a href="#M:Mono.DocTest.Generic.Extensions.Bar``1(Mono.DocTest.Generic.IFoo{``0},System.String)">Bar<T></a>
239 </b>(<i>this</i> <a href="../Mono.DocTest.Generic/IFoo`1.html">IFoo<T></a>, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a>)<blockquote><a href="../Mono.DocTest.Generic/IFoo`1.html">Mono.DocTest.Generic.IFoo`1</a> extension method</blockquote></td>
247 <a href="#M:Mono.DocTest.Generic.Extensions.ForEach``1(System.Collections.Generic.IEnumerable{``0},System.Action{``0})">ForEach<T></a>
248 </b>(<i>this</i> <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Collections.Generic.IEnumerable`1">IEnumerable<T></a>, <a href="../System/Action`1.html">Action<T></a>)<blockquote><a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Collections.Generic.IEnumerable`1">IEnumerable`1</a> extension method</blockquote></td>
256 <a href="#M:Mono.DocTest.Generic.Extensions.ToDouble(System.Collections.Generic.IEnumerable{System.Int32})">ToDouble</a>
257 </b>(<i>this</i> <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Collections.Generic.IEnumerable`1">IEnumerable<int></a>)<nobr> : <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Collections.Generic.IEnumerable`1">IEnumerable<double></a></nobr><blockquote><a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Collections.Generic.IEnumerable`1">IEnumerable<int></a>
267 <a href="#M:Mono.DocTest.Generic.Extensions.ToDouble``1(``0)">ToDouble<T></a>
268 </b>(<i>this</i> <i title="To be added.">T</i>)<nobr> : <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Double">double</a></nobr><blockquote><a href="../Mono.DocTest.Generic/IFoo`1.html">Mono.DocTest.Generic.IFoo`1</a> extension method.
277 <a href="#M:Mono.DocTest.Generic.Extensions.ToEnumerable``1(``0)">ToEnumerable<T></a>
278 </b>(<i>this</i> <i title="To be added.">T</i>)<nobr> : <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Collections.Generic.IEnumerable`1">IEnumerable<T></a></nobr><blockquote><tt>System.Object</tt> extension method</blockquote></td>
285 <div class="Members" id="T:Mono.DocTest.Generic.Extensions:Members">
286 <h2 class="Section" id="MemberDetails">Member Details</h2>
287 <div class="SectionBox" id="_MemberDetails">
288 <h3 id="M:Mono.DocTest.Generic.Extensions.Bar``1(Mono.DocTest.Generic.IFoo{``0},System.String)">Bar<T> Generic Method</h3>
289 <blockquote id="M:Mono.DocTest.Generic.Extensions.Bar``1(Mono.DocTest.Generic.IFoo{``0},System.String):member">
290 <div class="msummary">
291 <a href="../Mono.DocTest.Generic/IFoo`1.html">Mono.DocTest.Generic.IFoo`1</a> extension method</div>
293 <div class="Signature">public static <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Void">void</a> <b>Bar<T></b> (<i>this</i> <a href="../Mono.DocTest.Generic/IFoo`1.html">IFoo<T></a> self, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> s)</div>
294 <h4 class="Subsection">Type Parameters</h4>
295 <blockquote class="SubsectionBox" id="M:Mono.DocTest.Generic.Extensions.Bar``1(Mono.DocTest.Generic.IFoo{``0},System.String):Type Parameters">
301 <span class="NotEntered">Documentation for this section has not yet been entered.</span>
305 <h4 class="Subsection">Parameters</h4>
306 <blockquote class="SubsectionBox" id="M:Mono.DocTest.Generic.Extensions.Bar``1(Mono.DocTest.Generic.IFoo{``0},System.String):Parameters">
312 <span class="NotEntered">Documentation for this section has not yet been entered.</span>
318 <span class="NotEntered">Documentation for this section has not yet been entered.</span>
322 <h2 class="Section">Remarks</h2>
323 <div class="SectionBox" id="M:Mono.DocTest.Generic.Extensions.Bar``1(Mono.DocTest.Generic.IFoo{``0},System.String):Remarks">
324 <tt>M:Mono.DocTest.Generic.Extensions.Bar``1</tt>
326 <h2 class="Section">Requirements</h2>
327 <div class="SectionBox" id="M:Mono.DocTest.Generic.Extensions.Bar``1(Mono.DocTest.Generic.IFoo{``0},System.String):Version Information">
328 <b>Namespace: </b>Mono.DocTest.Generic<br /><b>Assembly: </b>DocTest (in DocTest.dll)<br /><b>Assembly Versions: </b>0.0.0.0</div>
331 <h3 id="M:Mono.DocTest.Generic.Extensions.ForEach``1(System.Collections.Generic.IEnumerable{``0},System.Action{``0})">ForEach<T> Generic Method</h3>
332 <blockquote id="M:Mono.DocTest.Generic.Extensions.ForEach``1(System.Collections.Generic.IEnumerable{``0},System.Action{``0}):member">
333 <div class="msummary">
334 <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Collections.Generic.IEnumerable`1">IEnumerable`1</a> extension method</div>
336 <div class="Signature">public static <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Void">void</a> <b>ForEach<T></b> (<i>this</i> <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Collections.Generic.IEnumerable`1">IEnumerable<T></a> self, <a href="../System/Action`1.html">Action<T></a> a)</div>
337 <h4 class="Subsection">Type Parameters</h4>
338 <blockquote class="SubsectionBox" id="M:Mono.DocTest.Generic.Extensions.ForEach``1(System.Collections.Generic.IEnumerable{``0},System.Action{``0}):Type Parameters">
344 <span class="NotEntered">Documentation for this section has not yet been entered.</span>
348 <h4 class="Subsection">Parameters</h4>
349 <blockquote class="SubsectionBox" id="M:Mono.DocTest.Generic.Extensions.ForEach``1(System.Collections.Generic.IEnumerable{``0},System.Action{``0}):Parameters">
355 <span class="NotEntered">Documentation for this section has not yet been entered.</span>
361 <span class="NotEntered">Documentation for this section has not yet been entered.</span>
365 <h2 class="Section">Remarks</h2>
366 <div class="SectionBox" id="M:Mono.DocTest.Generic.Extensions.ForEach``1(System.Collections.Generic.IEnumerable{``0},System.Action{``0}):Remarks">
367 <tt>M:Mono.DocTest.Generic.Extensions.ForEach``1</tt>
369 <h2 class="Section">Requirements</h2>
370 <div class="SectionBox" id="M:Mono.DocTest.Generic.Extensions.ForEach``1(System.Collections.Generic.IEnumerable{``0},System.Action{``0}):Version Information">
371 <b>Namespace: </b>Mono.DocTest.Generic<br /><b>Assembly: </b>DocTest (in DocTest.dll)<br /><b>Assembly Versions: </b>0.0.0.0</div>
374 <h3 id="M:Mono.DocTest.Generic.Extensions.ToDouble(System.Collections.Generic.IEnumerable{System.Int32})">ToDouble Method</h3>
375 <blockquote id="M:Mono.DocTest.Generic.Extensions.ToDouble(System.Collections.Generic.IEnumerable{System.Int32}):member">
376 <div class="msummary">
377 <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Collections.Generic.IEnumerable`1">IEnumerable<int></a>
381 <div class="Signature">public static <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Collections.Generic.IEnumerable`1">IEnumerable<double></a> <b>ToDouble</b> (<i>this</i> <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Collections.Generic.IEnumerable`1">IEnumerable<int></a> list)</div>
382 <h4 class="Subsection">Parameters</h4>
383 <blockquote class="SubsectionBox" id="M:Mono.DocTest.Generic.Extensions.ToDouble(System.Collections.Generic.IEnumerable{System.Int32}):Parameters">
389 <span class="NotEntered">Documentation for this section has not yet been entered.</span>
393 <h4 class="Subsection">Returns</h4>
394 <blockquote class="SubsectionBox" id="M:Mono.DocTest.Generic.Extensions.ToDouble(System.Collections.Generic.IEnumerable{System.Int32}):Returns">
395 <span class="NotEntered">Documentation for this section has not yet been entered.</span>
397 <h2 class="Section">Remarks</h2>
398 <div class="SectionBox" id="M:Mono.DocTest.Generic.Extensions.ToDouble(System.Collections.Generic.IEnumerable{System.Int32}):Remarks">
399 <tt>M:Mono.DocTest.Generic.Extensions.ToDouble</tt>
401 <h2 class="Section">Requirements</h2>
402 <div class="SectionBox" id="M:Mono.DocTest.Generic.Extensions.ToDouble(System.Collections.Generic.IEnumerable{System.Int32}):Version Information">
403 <b>Namespace: </b>Mono.DocTest.Generic<br /><b>Assembly: </b>DocTest (in DocTest.dll)<br /><b>Assembly Versions: </b>0.0.0.0</div>
406 <h3 id="M:Mono.DocTest.Generic.Extensions.ToDouble``1(``0)">ToDouble<T> Generic Method</h3>
407 <blockquote id="M:Mono.DocTest.Generic.Extensions.ToDouble``1(``0):member">
408 <div class="msummary">
409 <a href="../Mono.DocTest.Generic/IFoo`1.html">Mono.DocTest.Generic.IFoo`1</a> extension method.
412 <div class="Signature">public static <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Double">double</a> <b>ToDouble<T></b> (<i>this</i> <i title="To be added.">T</i> val)<br /> where T : <a href="../Mono.DocTest.Generic/IFoo`1.html">Mono.DocTest.Generic.IFoo<T></a></div>
413 <h4 class="Subsection">Type Parameters</h4>
414 <blockquote class="SubsectionBox" id="M:Mono.DocTest.Generic.Extensions.ToDouble``1(``0):Type Parameters">
420 <span class="NotEntered">Documentation for this section has not yet been entered.</span>
424 <h4 class="Subsection">Parameters</h4>
425 <blockquote class="SubsectionBox" id="M:Mono.DocTest.Generic.Extensions.ToDouble``1(``0):Parameters">
431 <span class="NotEntered">Documentation for this section has not yet been entered.</span>
435 <h4 class="Subsection">Returns</h4>
436 <blockquote class="SubsectionBox" id="M:Mono.DocTest.Generic.Extensions.ToDouble``1(``0):Returns">
437 <span class="NotEntered">Documentation for this section has not yet been entered.</span>
439 <h2 class="Section">Remarks</h2>
440 <div class="SectionBox" id="M:Mono.DocTest.Generic.Extensions.ToDouble``1(``0):Remarks">
441 <tt>M:Mono.DocTest.Generic.Extensions.ToDouble</tt>
443 <h2 class="Section">Requirements</h2>
444 <div class="SectionBox" id="M:Mono.DocTest.Generic.Extensions.ToDouble``1(``0):Version Information">
445 <b>Namespace: </b>Mono.DocTest.Generic<br /><b>Assembly: </b>DocTest (in DocTest.dll)<br /><b>Assembly Versions: </b>0.0.0.0</div>
448 <h3 id="M:Mono.DocTest.Generic.Extensions.ToEnumerable``1(``0)">ToEnumerable<T> Generic Method</h3>
449 <blockquote id="M:Mono.DocTest.Generic.Extensions.ToEnumerable``1(``0):member">
450 <div class="msummary">
451 <tt>System.Object</tt> extension method</div>
453 <div class="Signature">[System.Runtime.CompilerServices.IteratorStateMachine(typeof(Mono.DocTest.Generic.Extensions/<ToEnumerable>d__0`1))]<br />public static <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Collections.Generic.IEnumerable`1">IEnumerable<T></a> <b>ToEnumerable<T></b> (<i>this</i> <i title="To be added.">T</i> self)</div>
454 <h4 class="Subsection">Type Parameters</h4>
455 <blockquote class="SubsectionBox" id="M:Mono.DocTest.Generic.Extensions.ToEnumerable``1(``0):Type Parameters">
461 <span class="NotEntered">Documentation for this section has not yet been entered.</span>
465 <h4 class="Subsection">Parameters</h4>
466 <blockquote class="SubsectionBox" id="M:Mono.DocTest.Generic.Extensions.ToEnumerable``1(``0):Parameters">
472 <span class="NotEntered">Documentation for this section has not yet been entered.</span>
476 <h4 class="Subsection">Returns</h4>
477 <blockquote class="SubsectionBox" id="M:Mono.DocTest.Generic.Extensions.ToEnumerable``1(``0):Returns">
478 <span class="NotEntered">Documentation for this section has not yet been entered.</span>
480 <h2 class="Section">Remarks</h2>
481 <div class="SectionBox" id="M:Mono.DocTest.Generic.Extensions.ToEnumerable``1(``0):Remarks">
482 <tt>M:Mono.DocTest.Generic.Extensions.ToEnumerable``1</tt>
484 <h2 class="Section">Requirements</h2>
485 <div class="SectionBox" id="M:Mono.DocTest.Generic.Extensions.ToEnumerable``1(``0):Version Information">
486 <b>Namespace: </b>Mono.DocTest.Generic<br /><b>Assembly: </b>DocTest (in DocTest.dll)<br /><b>Assembly Versions: </b>0.0.0.0</div>
492 <div class="Copyright">