# C1.Util.DX.Func-2

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Util_DX_Func_2" data-uid="C1.Util.DX.Func`2" class="text-break">Func&lt;T1, TResult&gt; Delegate
</h1>
  <div class="markdown level0 summary"><p>Encapsulates a method that has one parameter and returns a value of the type specified by the TResult parameter.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Util.DX.html">C1.Util.DX</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.DX.10.dll</h6>
  <h5 id="C1_Util_DX_Func_2_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public delegate TResult Func&lt;in T1, out TResult&gt;(T1 paramT1)</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Delegate Function Func(Of In T1, Out TResult)(paramT1 As T1) As TResult</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">T1</span></td>
        <td><span class="parametername">paramT1</span></td>
        <td>Encapsulates a method that has one parameter and returns a value of the type specified by the TResult parameter.</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TResult</span></td>
        <td>Encapsulates a method that has one parameter and returns a value of the type specified by the TResult parameter.</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T1</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="parametername">TResult</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Util_DX_Func_2__ctor_System_Object_System_IntPtr_" data-uid="C1.Util.DX.Func`2.#ctor(System.Object,System.IntPtr)">
          <a class="xref" href="C1.Util.DX.Func-2.-ctor.html#C1_Util_DX_Func_2__ctor_System_Object_System_IntPtr_">Func(object, nint)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Util_DX_Func_2_BeginInvoke__0_System_AsyncCallback_System_Object_" data-uid="C1.Util.DX.Func`2.BeginInvoke(`0,System.AsyncCallback,System.Object)">
          <a class="xref" href="C1.Util.DX.Func-2.BeginInvoke.html#C1_Util_DX_Func_2_BeginInvoke__0_System_AsyncCallback_System_Object_">BeginInvoke(T1, AsyncCallback, object)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Func_2_EndInvoke_System_IAsyncResult_" data-uid="C1.Util.DX.Func`2.EndInvoke(System.IAsyncResult)">
          <a class="xref" href="C1.Util.DX.Func-2.EndInvoke.html#C1_Util_DX_Func_2_EndInvoke_System_IAsyncResult_">EndInvoke(IAsyncResult)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Func_2_Invoke__0_" data-uid="C1.Util.DX.Func`2.Invoke(`0)">
          <a class="xref" href="C1.Util.DX.Func-2.Invoke.html#C1_Util_DX_Func_2_Invoke__0_">Invoke(T1)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>

</div>
