# C1.Web.Mvc.Fluent.SortDescriptionBuilder

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Web_Mvc_Fluent_SortDescriptionBuilder" data-uid="C1.Web.Mvc.Fluent.SortDescriptionBuilder" class="text-break">SortDescriptionBuilder Class
</h1>
  <div class="markdown level0 summary"><p>Defines a builder to configurate <a class="xref" href="C1.Web.Mvc.SortDescription.html">SortDescription</a>.</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">HideObjectMembers</span></div>
    <div class="level2"><a class="xref" href="C1.Web.Mvc.Fluent.BaseBuilder-2.html">BaseBuilder</a>&lt;<a class="xref" href="C1.Web.Mvc.SortDescription.html">SortDescription</a>, <a class="xref" href="C1.Web.Mvc.Fluent.SortDescriptionBuilder.html">SortDescriptionBuilder</a>&gt;</div>
    <div class="level3"><span class="xref">SortDescriptionBuilder</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Web.Mvc.Fluent.html">C1.Web.Mvc.Fluent</a></h6>
  <h6><strong>Assembly</strong>: C1.AspNetCore.Mvc.dll</h6>
  <h5 id="C1_Web_Mvc_Fluent_SortDescriptionBuilder_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class SortDescriptionBuilder : BaseBuilder&lt;SortDescription, SortDescriptionBuilder&gt;</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class SortDescriptionBuilder
    Inherits BaseBuilder(Of SortDescription, SortDescriptionBuilder)</code></pre>
  </div>
  <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_Mvc_Fluent_SortDescriptionBuilder__ctor_C1_Web_Mvc_SortDescription_" data-uid="C1.Web.Mvc.Fluent.SortDescriptionBuilder.#ctor(C1.Web.Mvc.SortDescription)">
          <a class="xref" href="C1.Web.Mvc.Fluent.SortDescriptionBuilder.-ctor.html#C1_Web_Mvc_Fluent_SortDescriptionBuilder__ctor_C1_Web_Mvc_SortDescription_">SortDescriptionBuilder(SortDescription)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates one <a class="xref" href="C1.Web.Mvc.Fluent.SortDescriptionBuilder.html">SortDescriptionBuilder</a> instance to configurate <code class="paramref">obj</code>.</p>
</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_Mvc_Fluent_SortDescriptionBuilder_Ascending_System_Boolean_" data-uid="C1.Web.Mvc.Fluent.SortDescriptionBuilder.Ascending(System.Boolean)">
          <a class="xref" href="C1.Web.Mvc.Fluent.SortDescriptionBuilder.Ascending.html#C1_Web_Mvc_Fluent_SortDescriptionBuilder_Ascending_System_Boolean_">Ascending(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.SortDescription.Ascending.html#C1_Web_Mvc_SortDescription_Ascending">Ascending</a>.
Sets whether sorting with ascending.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_SortDescriptionBuilder_Property_System_String_" data-uid="C1.Web.Mvc.Fluent.SortDescriptionBuilder.Property(System.String)">
          <a class="xref" href="C1.Web.Mvc.Fluent.SortDescriptionBuilder.Property.html#C1_Web_Mvc_Fluent_SortDescriptionBuilder_Property_System_String_">Property(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.SortDescription.Property.html#C1_Web_Mvc_SortDescription_Property">Property</a>.
Sets which property is used for sorting.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
