# C1.Web.Mvc.Fluent.MenuCommandBuilder

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Web_Mvc_Fluent_MenuCommandBuilder" data-uid="C1.Web.Mvc.Fluent.MenuCommandBuilder" class="text-break">MenuCommandBuilder Class
</h1>
  <div class="markdown level0 summary"><p>Defines a builder to configurate <a class="xref" href="C1.Web.Mvc.MenuCommand.html">MenuCommand</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.MenuCommand.html">MenuCommand</a>, <a class="xref" href="C1.Web.Mvc.Fluent.MenuCommandBuilder.html">MenuCommandBuilder</a>&gt;</div>
    <div class="level3"><span class="xref">MenuCommandBuilder</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_MenuCommandBuilder_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class MenuCommandBuilder : BaseBuilder&lt;MenuCommand, MenuCommandBuilder&gt;</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class MenuCommandBuilder
    Inherits BaseBuilder(Of MenuCommand, MenuCommandBuilder)</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_MenuCommandBuilder__ctor_C1_Web_Mvc_MenuCommand_" data-uid="C1.Web.Mvc.Fluent.MenuCommandBuilder.#ctor(C1.Web.Mvc.MenuCommand)">
          <a class="xref" href="C1.Web.Mvc.Fluent.MenuCommandBuilder.-ctor.html#C1_Web_Mvc_Fluent_MenuCommandBuilder__ctor_C1_Web_Mvc_MenuCommand_">MenuCommandBuilder(MenuCommand)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates one <a class="xref" href="C1.Web.Mvc.Fluent.MenuCommandBuilder.html">MenuCommandBuilder</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_MenuCommandBuilder_CanExecuteCommand_System_String_" data-uid="C1.Web.Mvc.Fluent.MenuCommandBuilder.CanExecuteCommand(System.String)">
          <a class="xref" href="C1.Web.Mvc.Fluent.MenuCommandBuilder.CanExecuteCommand.html#C1_Web_Mvc_Fluent_MenuCommandBuilder_CanExecuteCommand_System_String_">CanExecuteCommand(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.MenuCommand.CanExecuteCommand.html#C1_Web_Mvc_MenuCommand_CanExecuteCommand">CanExecuteCommand</a>.
This method returns a Boolean value that determines whether the controller can execute the command.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_MenuCommandBuilder_ExecuteCommand_System_String_" data-uid="C1.Web.Mvc.Fluent.MenuCommandBuilder.ExecuteCommand(System.String)">
          <a class="xref" href="C1.Web.Mvc.Fluent.MenuCommandBuilder.ExecuteCommand.html#C1_Web_Mvc_Fluent_MenuCommandBuilder_ExecuteCommand_System_String_">ExecuteCommand(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.MenuCommand.ExecuteCommand.html#C1_Web_Mvc_MenuCommand_ExecuteCommand">ExecuteCommand</a>.
This method executes the command.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
