Dryad/html/11c77de4-bb21-4879-6a37-daa...

45 lines
15 KiB
HTML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<html xmlns:MSHelp="http://msdn.microsoft.com/mshelp" xmlns:mshelp="http://msdn.microsoft.com/mshelp"><head><link rel="SHORTCUT ICON" href="./../icons/favicon.ico" /><style type="text/css">.OH_CodeSnippetContainerTabLeftActive, .OH_CodeSnippetContainerTabLeft,.OH_CodeSnippetContainerTabLeftDisabled { }.OH_CodeSnippetContainerTabRightActive, .OH_CodeSnippetContainerTabRight,.OH_CodeSnippetContainerTabRightDisabled { }.OH_footer { }</style><link rel="stylesheet" type="text/css" href="./../styles/branding.css" /><link rel="stylesheet" type="text/css" href="./../styles/branding-en-US.css" /><style type="text/css">
body
{
border-left:5px solid #e6e6e6;
overflow-x:scroll;
overflow-y:scroll;
}
</style><script src="./../scripts/branding.js" type="text/javascript"><!----></script><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>GenericDecomposable(TDecomposable, TSource, TAccumulate, TResult) Class</title><meta name="Language" content="en-us" /><meta name="System.Keywords" content="GenericDecomposable%3CTDecomposable%2C TSource%2C TAccumulate%2C TResult%3E class" /><meta name="System.Keywords" content="Microsoft.Research.DryadLinq.GenericDecomposable%3CTDecomposable%2C TSource%2C TAccumulate%2C TResult%3E class" /><meta name="System.Keywords" content="GenericDecomposable%3CTDecomposable%2C TSource%2C TAccumulate%2C TResult%3E class, about GenericDecomposable%3CTDecomposable%2C TSource%2C TAccumulate%2C TResult%3E class" /><meta name="System.Keywords" content="GenericDecomposable(Of TDecomposable%2C TSource%2C TAccumulate%2C TResult) class" /><meta name="System.Keywords" content="Microsoft.Research.DryadLinq.GenericDecomposable(Of TDecomposable%2C TSource%2C TAccumulate%2C TResult) class" /><meta name="System.Keywords" content="GenericDecomposable(Of TDecomposable%2C TSource%2C TAccumulate%2C TResult) class, about GenericDecomposable(Of TDecomposable%2C TSource%2C TAccumulate%2C TResult) class" /><meta name="Microsoft.Help.F1" content="Microsoft.Research.DryadLinq.GenericDecomposable`4" /><meta name="Microsoft.Help.Id" content="T:Microsoft.Research.DryadLinq.GenericDecomposable`4" /><meta name="Description" content="A helper class for calling IDecomposable methods more efficiently. It is used in auto-generated vertex code. A DryadLINQ user should not need to use this class directly." /><meta name="Microsoft.Help.ContentType" content="Reference" /><meta name="BrandingAware" content="'true'" /><meta name="container" content="Microsoft.Research.DryadLinq" /><meta name="file" content="11c77de4-bb21-4879-6a37-daaf58adb3cf" /><meta name="guid" content="11c77de4-bb21-4879-6a37-daaf58adb3cf" /><meta name="SelfBranded" content="true" /></head><body onload="onLoad()" class="primary-mtps-offline-document"><div class="OH_outerDiv"><div class="OH_outerContent"><table class="TitleTable"><tr><td class="OH_tdTitleColumn">GenericDecomposable<span id="ID0EJBABAAA"> </span><script type="text/javascript">
addToLanSpecTextIdSet("ID0EJBABAAA?vb=(Of |cpp=&lt;|cs=&lt;|fs=&lt;'|nu=(");
</script><span class="typeparameter">TDecomposable</span>, <span class="typeparameter">TSource</span>, <span class="typeparameter">TAccumulate</span>, <span class="typeparameter">TResult</span><span id="ID0EBBABAAA"> </span><script type="text/javascript">
addToLanSpecTextIdSet("ID0EBBABAAA?vb=)|cpp=&gt;|cs=&gt;|fs=&gt;|nu=)");
</script> Class</td><td class="OH_tdRunningTitleColumn">DryadLINQ documentation</td></tr></table><div id="mainSection"><div id="mainBody"><span class="introStyle"></span><div class="summary">
A helper class for calling IDecomposable methods more efficiently. It is used in
auto-generated vertex code. A DryadLINQ user should not need to use this class directly.
</div><div class="OH_CollapsibleAreaRegion"><div class="OH_regiontitle">Inheritance Hierarchy</div><div class="OH_CollapsibleArea_HrDiv"><hr class="OH_CollapsibleArea_Hr" /></div></div><div class="OH_clear"></div><a href="http://msdn2.microsoft.com/en-us/library/e5kfa45b" target="_blank">System<span id="ID0EBEOAAAAA"> </span><script type="text/javascript">
addToLanSpecTextIdSet("ID0EBEOAAAAA?vb=.|cpp=::|cs=.|fs=.|nu=.");
</script>Object</a><br />  <span class="selflink">Microsoft.Research.DryadLinq<span id="ID0EEBOAAAAA"> </span><script type="text/javascript">
addToLanSpecTextIdSet("ID0EEBOAAAAA?vb=.|cpp=::|cs=.|fs=.|nu=.");
</script>GenericDecomposable<span id="ID0ECBOAAAAA"> </span><script type="text/javascript">
addToLanSpecTextIdSet("ID0ECBOAAAAA?vb=(Of |cpp=&lt;|cs=&lt;|fs=&lt;'|nu=(");
</script>TDecomposable, TSource, TAccumulate, TResult<span id="ID0EABOAAAAA"> </span><script type="text/javascript">
addToLanSpecTextIdSet("ID0EABOAAAAA?vb=)|cpp=&gt;|cs=&gt;|fs=&gt;|nu=)");
</script></span><br /><p></p><strong>Namespace:</strong> <a href="efe6507e-9fd8-bbd3-8227-fd6ba9e289c1.htm" target="">Microsoft.Research.DryadLinq</a><br /><strong>Assembly:</strong> <span sdata="assembly">Microsoft.Research.DryadLinq</span> (in Microsoft.Research.DryadLinq.dll) Version: 0.1.1.0 (0.1.1.0)<div class="OH_CollapsibleAreaRegion"><div class="OH_regiontitle">Syntax</div><div class="OH_CollapsibleArea_HrDiv"><hr class="OH_CollapsibleArea_Hr" /></div></div><div class="OH_clear"></div><div id="snippetGroup_Syntax" class="code"><div id="ID0ECBEAAAAA" class="OH_CodeSnippetContainer"><div class="OH_CodeSnippetContainerTabs" id="ID0ECBEAAAAA_tabs"><div class="OH_CodeSnippetContainerTabLeftActive" id="ID0ECBEAAAAA_tabimgleft"></div><div id="ID0ECBEAAAAA_tab1" class="OH_CodeSnippetContainerTabActive" EnableCopyCode="true"><a href="#" onclick="javascript:ChangeTab('ID0ECBEAAAAA','C#','1','4');return false;">C#</a></div><div id="ID0ECBEAAAAA_tab2" class="OH_CodeSnippetContainerTab" EnableCopyCode="true"><a href="#" onclick="javascript:ChangeTab('ID0ECBEAAAAA','Visual Basic','2','4');return false;">VB</a></div><div id="ID0ECBEAAAAA_tab3" class="OH_CodeSnippetContainerTab" EnableCopyCode="true"><a href="#" onclick="javascript:ChangeTab('ID0ECBEAAAAA','Visual C++','3','4');return false;">C++</a></div><div id="ID0ECBEAAAAA_tab4" class="OH_CodeSnippetContainerTabDisabledNotFirst" EnableCopyCode="true" disabled="true"><a>F#</a></div><div class="OH_CodeSnippetContainerTabRight" id="ID0ECBEAAAAA_tabimgright"></div></div><div id="ID0ECBEAAAAA_codecollection" class="OH_CodeSnippetContainerCodeCollection"><div class="OH_CodeSnippetToolBar"><div class="OH_CodeSnippetToolBarText"><a id="ID0ECBEAAAAA_ViewColorized" href="#" onclick="javascript:ExchangeTitleContent('ID0ECBEAAAAA','4')" title="View Colorized" style="display: none">View Colorized</a><a id="ID0ECBEAAAAA_copycode" href="#" onclick="javascript:CopyToClipboard('ID0ECBEAAAAA','4')" title="Copy to Clipboard">Copy to Clipboard</a><a id="ID0ECBEAAAAA_PrintText" class="OH_PrintText" href="#" onclick="javascript:Print('ID0ECBEAAAAA','4')" title="Print">Print</a></div></div><div id="ID0ECBEAAAAA_code_Div1" class="OH_CodeSnippetContainerCode" style="display: block"><pre><span class="keyword">public</span> <span class="keyword">static</span> <span class="keyword">class</span> <span class="identifier">GenericDecomposable</span>&lt;TDecomposable, TSource, TAccumulate, TResult&gt;
<span class="keyword">where</span> TDecomposable : <span class="keyword">new</span>(), <span class="identifier">Object</span>, <span class="identifier">IDecomposable</span>&lt;TSource, TAccumulate, TResult&gt;</pre></div><div id="ID0ECBEAAAAA_code_Plain_Div1" class="OH_CodeSnippetContainerCode" style="display: none"><pre>public static class GenericDecomposable&lt;TDecomposable, TSource, TAccumulate, TResult&gt;
where TDecomposable : new(), Object, IDecomposable&lt;TSource, TAccumulate, TResult&gt;</pre></div><div id="ID0ECBEAAAAA_code_Div2" class="OH_CodeSnippetContainerCode" style="display: none"><pre><span class="keyword">Public</span> <span class="keyword">NotInheritable</span> <span class="keyword">Class</span> <span class="identifier">GenericDecomposable</span>(<span class="keyword">Of</span> TDecomposable <span class="keyword">As</span> {<span class="keyword">New</span>, <span class="identifier">Object</span>, <span class="identifier">IDecomposable</span>(<span class="keyword">Of</span> TSource, TAccumulate, TResult)}, TSource, TAccumulate, TResult)</pre></div><div id="ID0ECBEAAAAA_code_Plain_Div2" class="OH_CodeSnippetContainerCode" style="display: none"><pre>Public NotInheritable Class GenericDecomposable(Of TDecomposable As {New, Object, IDecomposable(Of TSource, TAccumulate, TResult)}, TSource, TAccumulate, TResult)</pre></div><div id="ID0ECBEAAAAA_code_Div3" class="OH_CodeSnippetContainerCode" style="display: none"><pre><span class="keyword">generic</span>&lt;<span class="keyword">typename</span> TDecomposable, <span class="keyword">typename</span> TSource, <span class="keyword">typename</span> TAccumulate, <span class="keyword">typename</span> TResult&gt;
<span class="keyword">where</span> TDecomposable : <span class="keyword">gcnew</span>(), <span class="identifier">Object</span>, <span class="identifier">IDecomposable</span>&lt;TSource, TAccumulate, TResult&gt;
<span class="keyword">public</span> <span class="keyword">ref class</span> <span class="identifier">GenericDecomposable</span> <span class="keyword">abstract</span> <span class="keyword">sealed</span></pre></div><div id="ID0ECBEAAAAA_code_Plain_Div3" class="OH_CodeSnippetContainerCode" style="display: none"><pre>generic&lt;typename TDecomposable, typename TSource, typename TAccumulate, typename TResult&gt;
where TDecomposable : gcnew(), Object, IDecomposable&lt;TSource, TAccumulate, TResult&gt;
public ref class GenericDecomposable abstract sealed</pre></div><div id="ID0ECBEAAAAA_code_Div4" class="OH_CodeSnippetContainerCode" style="display: none"><pre /></div><div id="ID0ECBEAAAAA_code_Plain_Div4" class="OH_CodeSnippetContainerCode" style="display: none"><pre /></div></div></div><script>addSpecificTextLanguageTagSet('ID0ECBEAAAAA');</script></div><div class="OH_CollapsibleAreaRegion"><div class="OH_regiontitle">Type Parameters</div><div class="OH_CollapsibleArea_HrDiv"><hr class="OH_CollapsibleArea_Hr" /></div></div><div class="OH_clear"></div><dl><dt><span class="parameter">TDecomposable</span></dt><dd>The type that implements the IDecomposable interface</dd><dt><span class="parameter">TSource</span></dt><dd>The element type of the input sequence</dd><dt><span class="parameter">TAccumulate</span></dt><dd>The element type of an intermediate result</dd><dt><span class="parameter">TResult</span></dt><dd>The element type of the final result</dd></dl><p>The <span class="selflink">GenericDecomposable<span id="ID0ECBDAAAAA"> </span><script type="text/javascript">
addToLanSpecTextIdSet("ID0ECBDAAAAA?vb=(Of |cpp=&lt;|cs=&lt;|fs=&lt;'|nu=(");
</script>TDecomposable, TSource, TAccumulate, TResult<span id="ID0EABDAAAAA"> </span><script type="text/javascript">
addToLanSpecTextIdSet("ID0EABDAAAAA?vb=)|cpp=&gt;|cs=&gt;|fs=&gt;|nu=)");
</script></span> type exposes the following members.</p><div class="OH_CollapsibleAreaRegion"><div class="OH_regiontitle">Methods</div><div class="OH_CollapsibleArea_HrDiv"><hr class="OH_CollapsibleArea_Hr" /></div></div><div class="OH_clear"></div><table id="memberList" class="members"><tr><th class="ps_iconColumn">
 
</th><th class="ps_nameColumn">Name</th><th class="ps_descriptionColumn">Description</th></tr><tr data="public;static;declared;notNetfw;"><td><img src="./../icons/pubmethod.gif" alt="Public method" title="Public method" /><img src="./../icons/static.gif" alt="Static member" title="Static member" /></td><td><a href="ffa4b6ac-5e03-29aa-ec10-7aab8893edd2.htm" target="">Accumulate</a></td><td><div class="summary">
Accumulates an input element into the accumulator value.
</div></td></tr><tr data="public;static;declared;notNetfw;"><td><img src="./../icons/pubmethod.gif" alt="Public method" title="Public method" /><img src="./../icons/static.gif" alt="Static member" title="Static member" /></td><td><a href="982d658a-3590-02e2-e86c-5d1603e2ff7b.htm" target="">FinalReduce</a></td><td><div class="summary">
Produces the final value from an accumulator value.
</div></td></tr><tr data="public;static;declared;notNetfw;"><td><img src="./../icons/pubmethod.gif" alt="Public method" title="Public method" /><img src="./../icons/static.gif" alt="Static member" title="Static member" /></td><td><a href="7ad863dd-2b05-4189-31b3-b8e3fe344c31.htm" target="">Initialize</a></td><td><div class="summary">
Initializes the initial state of the IDecomposable object.
</div></td></tr><tr data="public;static;declared;notNetfw;"><td><img src="./../icons/pubmethod.gif" alt="Public method" title="Public method" /><img src="./../icons/static.gif" alt="Static member" title="Static member" /></td><td><a href="032e436e-efdc-433f-654c-75ce93cdb5d2.htm" target="">RecursiveAccumulate</a></td><td><div class="summary">
Combines two accumulator values into one.
</div></td></tr><tr data="public;static;declared;notNetfw;"><td><img src="./../icons/pubmethod.gif" alt="Public method" title="Public method" /><img src="./../icons/static.gif" alt="Static member" title="Static member" /></td><td><a href="3f7c6b9f-b02f-4152-9d67-ce663a9710f7.htm" target="">Seed</a></td><td><div class="summary">
Converts an input element to an intermediate accumulator value.
</div></td></tr></table><a href="#mainBody" target="">Top</a><a name="seeAlsoSection"><!----></a><div class="OH_CollapsibleAreaRegion"><div class="OH_regiontitle">See Also</div><div class="OH_CollapsibleArea_HrDiv"><hr class="OH_CollapsibleArea_Hr" /></div></div><div class="OH_clear"></div><div class="seeAlsoStyle"><a href="efe6507e-9fd8-bbd3-8227-fd6ba9e289c1.htm" target="">Microsoft.Research.DryadLinq Namespace</a></div></div></div></div></div><div id="OH_footer" class="OH_footer"><p /><div class="OH_feedbacklink"><a href="mailto:?subject=DryadLINQ+documentation+GenericDecomposable(TDecomposable%2c+TSource%2c+TAccumulate%2c+TResult)+Class+100+EN-US&amp;body=Your%20feedback%20is%20used%20to%20improve%20the%20documentation%20and%20the%20product.%20Your%20e-mail%20address%20will%20not%20be%20used%20for%20any%20other%20purpose%20and%20is%20disposed%20of%20after%20the%20issue%20you%20report%20is%20resolved.%20While%20working%20to%20resolve%20the%20issue%20that%20you%20report%2c%20you%20may%20be%20contacted%20via%20e-mail%20to%20get%20further%20details%20or%20clarification%20on%20the%20feedback%20you%20sent.%20After%20the%20issue%20you%20report%20has%20been%20addressed%2c%20you%20may%20receive%20an%20e-mail%20to%20let%20you%20know%20that%20your%20feedback%20has%20been%20addressed.">Send Feedback</a> on this topic.</div></div></body></html>