# C1.Web.Api.RequestModelBinder-1

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Web_Api_RequestModelBinder_1" data-uid="C1.Web.Api.RequestModelBinder`1" class="text-break">RequestModelBinder&lt;T&gt; Class
</h1>
  <div class="markdown level0 summary"><p>The model binder for the parameter of C1 Web API action.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><span class="xref">RequestModelBinder&lt;T&gt;</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/microsoft.aspnetcore.mvc.modelbinding.imodelbinder">IModelBinder</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Web.Api.html">C1.Web.Api</a></h6>
  <h6><strong>Assembly</strong>: C1.AspNetCore.Api.dll</h6>
  <h5 id="C1_Web_Api_RequestModelBinder_1_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class RequestModelBinder&lt;T&gt; : IModelBinder</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class RequestModelBinder(Of T)
    Implements IModelBinder</code></pre>
  </div>
  <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">T</span></td>
        <td><p>The type of the models</p>
</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_Web_Api_RequestModelBinder_1__ctor" data-uid="C1.Web.Api.RequestModelBinder`1.#ctor">
          <a class="xref" href="C1.Web.Api.RequestModelBinder-1.-ctor.html#C1_Web_Api_RequestModelBinder_1__ctor">RequestModelBinder()</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_Web_Api_RequestModelBinder_1_BindModelAsync_Microsoft_AspNetCore_Mvc_ModelBinding_ModelBindingContext_" data-uid="C1.Web.Api.RequestModelBinder`1.BindModelAsync(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext)">
          <a class="xref" href="C1.Web.Api.RequestModelBinder-1.BindModelAsync.html#C1_Web_Api_RequestModelBinder_1_BindModelAsync_Microsoft_AspNetCore_Mvc_ModelBinding_ModelBindingContext_">BindModelAsync(ModelBindingContext)</a>
        </td>
        <td class="markdown level1 summary"><p>Async function to bind to a particular model.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
